From 4362530b775e7cc238b71fb78056ebf7daa80df5 Mon Sep 17 00:00:00 2001 From: Reckless_Satoshi Date: Thu, 29 Sep 2022 05:47:24 -0700 Subject: [PATCH] Update mobile CSS --- mobile/html/Web.bundle/css/index.css | 27 +++++++++++++++++++++++---- 1 file changed, 23 insertions(+), 4 deletions(-) diff --git a/mobile/html/Web.bundle/css/index.css b/mobile/html/Web.bundle/css/index.css index d07ee8bdb..a78de030e 100644 --- a/mobile/html/Web.bundle/css/index.css +++ b/mobile/html/Web.bundle/css/index.css @@ -6,6 +6,24 @@ body { font-family: 'Roboto'; } +@media (prefers-color-scheme: dark) { + body { + background: rgb(0, 0, 0); + } + .loaderSpinner { + color: #90caf9; + } + .loaderSpinner:before { + background: rgb(0, 0, 0); + } + .loaderSpinner:after { + background: rgb(0, 0, 0); + } + .slider { + color: #fff; + } +} + #main { position: fixed; width: 100%; @@ -151,11 +169,12 @@ input[type='number'] { width: auto !important; } -@media (max-width: 929px) { +@media (max-height: 725px) and (max-width: 925px) { .appCenter:has(> div.MuiGrid-root:first-child, > div.MuiBox-root:first-child) { - overflow-y: scroll; - margin-top: 12px; - padding-bottom: 25px; + overflow-y: auto; + margin-top: 1em; + padding-bottom: 3em; height: 100%; + width: 100%; } }