From 6c852d93a9c0876ab30874d5811c1d5904ebf216 Mon Sep 17 00:00:00 2001 From: Pax1601 Date: Wed, 29 Nov 2023 11:06:31 +0100 Subject: [PATCH] Minor tweak on splash screen when screen is very small --- client/public/stylesheets/style/style.css | 11 ++++++++--- client/views/other/dialogs/splash.ejs | 2 +- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/client/public/stylesheets/style/style.css b/client/public/stylesheets/style/style.css index 82c47702..087ac29a 100644 --- a/client/public/stylesheets/style/style.css +++ b/client/public/stylesheets/style/style.css @@ -777,6 +777,7 @@ nav.ol-panel> :last-child { width: 70%; max-width: 1200px; z-index: 999999; + min-width: 500px; } @media (min-width: 1700px) { @@ -842,7 +843,11 @@ nav.ol-panel> :last-child { } #splash-content #legal-stuff { - width: 100%; + width: 120%; + text-wrap: wrap; + max-height: 250px; + overflow-x: hidden; + padding-right: 10px; } #splash-content #legal-stuff h5 { @@ -852,11 +857,11 @@ nav.ol-panel> :last-child { #splash-content #legal-stuff p { color: #FFF7; font-size: 10px; - width: 120%; + width: 100%; } @media (max-width: 1700px) { - #splash-content #legal-stuff p { + #splash-content #legal-stuff { width: 100%; } } diff --git a/client/views/other/dialogs/splash.ejs b/client/views/other/dialogs/splash.ejs index 2a883842..b44aa0d1 100644 --- a/client/views/other/dialogs/splash.ejs +++ b/client/views/other/dialogs/splash.ejs @@ -14,7 +14,7 @@

-