From 50012ad7b3ce523708df1977dd8b95f1bc0acf0a Mon Sep 17 00:00:00 2001 From: Silas Date: Thu, 24 Feb 2022 11:32:00 -0500 Subject: [PATCH] better desktop styling, change some wording --- assets/css/app.css | 15 ++++++++++++++- assets/js/pages/JustPage.tsx | 4 ++-- assets/js/pages/SplashPage.tsx | 11 ++++++++--- lib/entendu_web/templates/layout/app.html.eex | 2 +- lib/entendu_web/templates/layout/root.html.leex | 2 +- 5 files changed, 26 insertions(+), 8 deletions(-) diff --git a/assets/css/app.css b/assets/css/app.css index c32ee07..e488f02 100644 --- a/assets/css/app.css +++ b/assets/css/app.css @@ -99,7 +99,20 @@ background: none !important; } -@media screen and (max-width: 800px) { +html { + height: 100%; +} + +@media screen and (min-width: 1025px) { + .centered-container { + margin-top: 0px; + position: absolute; + top: 50%; + transform: translate(0, -50%); + } +} + +@media screen and (max-width: 1024px) { .logo { display: block; margin-left: auto; diff --git a/assets/js/pages/JustPage.tsx b/assets/js/pages/JustPage.tsx index 3208b4c..02d8dbb 100644 --- a/assets/js/pages/JustPage.tsx +++ b/assets/js/pages/JustPage.tsx @@ -182,13 +182,13 @@ const JustPage = (props: JustPageProps) => { Create a secret - +