From 88264e66f6c161d4f0025c08f2c6c8038f291922 Mon Sep 17 00:00:00 2001 From: MicroBlock <66859419+MicroCBer@users.noreply.github.com> Date: Mon, 30 Jan 2023 16:53:41 +0800 Subject: [PATCH 1/3] ui: add padding to nav bar Signed-off-by: MicroBlock <66859419+MicroCBer@users.noreply.github.com> --- layouts/css/page-modules/_header.scss | 1 + 1 file changed, 1 insertion(+) diff --git a/layouts/css/page-modules/_header.scss b/layouts/css/page-modules/_header.scss index cc43db6c7e5d6..0b916bb2b4a6a 100644 --- a/layouts/css/page-modules/_header.scss +++ b/layouts/css/page-modules/_header.scss @@ -4,6 +4,7 @@ header { position: relative; >.container { + padding-top: 0.5em; overflow: visible; } From 63371c04c36adad9ba12a74eecca2b5ec764d218 Mon Sep 17 00:00:00 2001 From: MicroBlock <66859419+MicroCBer@users.noreply.github.com> Date: Mon, 30 Jan 2023 17:13:26 +0800 Subject: [PATCH 2/3] ui: adjust layout of switchers Signed-off-by: MicroBlock <66859419+MicroCBer@users.noreply.github.com> --- layouts/css/page-modules/_header.scss | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/layouts/css/page-modules/_header.scss b/layouts/css/page-modules/_header.scss index 0b916bb2b4a6a..f0c4e41aea710 100644 --- a/layouts/css/page-modules/_header.scss +++ b/layouts/css/page-modules/_header.scss @@ -4,7 +4,7 @@ header { position: relative; >.container { - padding-top: 0.5em; + padding-top: .5em; overflow: visible; } @@ -41,6 +41,10 @@ header { position: absolute; right: 0; bottom: 0; + top: 0; + >button { + margin-right: .5em; + } } .dark-theme-switcher { @@ -48,7 +52,6 @@ header { border: none; color: $light-gray2; cursor: pointer; - padding: 12px; background-image: url("/static/images/dark-mode.svg"); background-repeat: no-repeat; } @@ -58,7 +61,6 @@ header { border: none; color: $light-gray2; cursor: pointer; - padding: 12px; } .lang-picker { From ee345803207429ae657f8b55e73712f01e5ff043 Mon Sep 17 00:00:00 2001 From: MicroBlock <66859419+MicroCBer@users.noreply.github.com> Date: Mon, 30 Jan 2023 17:18:48 +0800 Subject: [PATCH 3/3] ui: add margin to lang-picker-toggler Signed-off-by: MicroBlock <66859419+MicroCBer@users.noreply.github.com> --- layouts/css/page-modules/_header.scss | 1 + 1 file changed, 1 insertion(+) diff --git a/layouts/css/page-modules/_header.scss b/layouts/css/page-modules/_header.scss index f0c4e41aea710..01577dd6f8b16 100644 --- a/layouts/css/page-modules/_header.scss +++ b/layouts/css/page-modules/_header.scss @@ -57,6 +57,7 @@ header { } .lang-picker-toggler { + margin-top: 0.3em; background-color: transparent; border: none; color: $light-gray2;