From 4912ede42c8b169338e8288ef0dfe9fdd6be7eb2 Mon Sep 17 00:00:00 2001 From: Gordon Pedersen Date: Mon, 10 Feb 2025 16:36:26 +1100 Subject: [PATCH] minor styling fixes --- wwwroot/css/app.css | 1 - wwwroot/css/style.css | 10 +++++++++- wwwroot/css/z.css | 4 +++- 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/wwwroot/css/app.css b/wwwroot/css/app.css index 141dbf6..08da2bf 100644 --- a/wwwroot/css/app.css +++ b/wwwroot/css/app.css @@ -38,7 +38,6 @@ position: sticky; top: 0; height: env(safe-area-inset-top); - background-color: #f7f7f7; width: 100%; z-index: 1; } diff --git a/wwwroot/css/style.css b/wwwroot/css/style.css index 36b523e..7e99b48 100644 --- a/wwwroot/css/style.css +++ b/wwwroot/css/style.css @@ -12,6 +12,14 @@ --max-article-size: 75rem; } +#app { + position: relative +} + +nav:is(.left, .right){ + margin-block-start: env(safe-area-inset-top); +} + main { position: relative; overflow-x: hidden; @@ -243,4 +251,4 @@ a.row.indent { margin-left: 1rem } .markdown-editor > .EasyMDEContainer > .CodeMirror { flex: auto -} +} \ No newline at end of file diff --git a/wwwroot/css/z.css b/wwwroot/css/z.css index 02af75c..585f739 100644 --- a/wwwroot/css/z.css +++ b/wwwroot/css/z.css @@ -4,7 +4,9 @@ nav header { z-index: 101 } nav.bottom.s:not(.drawer) :is(button,.button) > menu { z-index: 100 } -.fab { z-index: 1 } +.fab { + z-index: 1 +} .avatar::after { z-index: 1 }