From 8c733583739517ff453d561f3b8fc5ca0d334819 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Wed, 31 Mar 2021 23:11:37 +0200 Subject: fix navigation... need to go to start page first --- frontend/site/projects/museum/app.js | 7 +++++-- frontend/site/projects/museum/views/home.css | 3 +++ 2 files changed, 8 insertions(+), 2 deletions(-) (limited to 'frontend/site/projects/museum') diff --git a/frontend/site/projects/museum/app.js b/frontend/site/projects/museum/app.js index caa8c3c..4c51590 100644 --- a/frontend/site/projects/museum/app.js +++ b/frontend/site/projects/museum/app.js @@ -18,8 +18,11 @@ export default class App extends Component {
- - + + { + setTimeout(() => this.props.history.push('/last-museum/start'), 10) + return null + }} />
) diff --git a/frontend/site/projects/museum/views/home.css b/frontend/site/projects/museum/views/home.css index 84f157d..7cfa5a0 100644 --- a/frontend/site/projects/museum/views/home.css +++ b/frontend/site/projects/museum/views/home.css @@ -20,6 +20,7 @@ color: #FF790D; text-shadow: 0px 0px 5px #FF790D; opacity: 1; + white-space: nowrap; transition: opacity 0.2s; font-size: 2.2vh; width: 100vw; @@ -31,6 +32,7 @@ font-weight: 900; font-style: italic; color: #FF790D; + white-space: nowrap; text-shadow: 0px 0px 10px #FF790D; font-size: 49vh; position: absolute; @@ -45,6 +47,7 @@ color: #FF790D; text-shadow: 0px 0px 5px #FF790D; opacity: 1; + white-space: nowrap; transition: opacity 0.2s; width: 50vw; font-size: 3vh; -- cgit v1.2.3-70-g09d2