From 3e0b86eac8529b8b0968f4063d612a09f1b249d8 Mon Sep 17 00:00:00 2001 From: Sunil Mohan Adapa Date: Mon, 7 Oct 2024 04:53:48 -0700 Subject: [PATCH] css: Fix height of navbar in mobile layout during first boot Only item in the navbar present during first boot in mobile layout is the toggler. Set its height such that it maintains the height of the entire navbar. Tests: - After the account setup screen, switch to mobile layout. Notice that the navbar is no longer tiny but the usual height. Signed-off-by: Sunil Mohan Adapa Reviewed-by: Veiko Aasa --- static/themes/default/css/main.css | 2 ++ 1 file changed, 2 insertions(+) diff --git a/static/themes/default/css/main.css b/static/themes/default/css/main.css index a20a20398..78d4285b0 100644 --- a/static/themes/default/css/main.css +++ b/static/themes/default/css/main.css @@ -464,6 +464,8 @@ footer { .main-header .navbar-toggler { border: 1px solid #ddd; + /* In mobile layout, during first setup, maintain the height of the navbar */ + margin: 0.6875rem 0; } @media screen and (max-width: 767px) {