Skip to content

Commit 02ce207

Browse files
committed
increase height by 1px, fix mobile padding-bottom
1 parent f72b094 commit 02ce207

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

web_src/css/modules/navbar.css

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,9 @@
99
}
1010

1111
#navbar,
12-
#navbar .navbar-left {
13-
min-height: 48px;
12+
#navbar .navbar-left,
13+
#navbar .navbar-right {
14+
min-height: 49px; /* +1px border-bottom */
1415
}
1516

1617
#navbar .navbar-left,
@@ -47,7 +48,6 @@
4748
@media (max-width: 767.98px) {
4849
#navbar {
4950
align-items: stretch;
50-
padding-bottom: 8px;
5151
}
5252
/* hide all items */
5353
#navbar .item {
@@ -70,6 +70,9 @@
7070
display: flex;
7171
}
7272
/* show items if the navbar is open */
73+
#navbar.navbar-menu-open {
74+
padding-bottom: 8px;
75+
}
7376
#navbar.navbar-menu-open,
7477
#navbar.navbar-menu-open .navbar-right {
7578
flex-direction: column;

0 commit comments

Comments
 (0)