Skip to content

Commit 3988294

Browse files
committed
Improve mobile navbar logo spacing and size
- Add margin between hamburger and logo brand - Add margin between logo icon and text - Increase title font to 1.25rem for better visual balance - Add comment explaining 13px exception for mobile
1 parent 052bbd1 commit 3988294

1 file changed

Lines changed: 12 additions & 3 deletions

File tree

src/css/custom.css

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1176,17 +1176,26 @@ html body > div:first-child {
11761176
padding: 4px 0;
11771177
}
11781178

1179-
/* Improve mobile navbar - make logo bigger */
1179+
/*
1180+
* Mobile navbar branding - make logo more prominent
1181+
* Exception to the 13px base font: on mobile, controls are larger
1182+
* so we increase the logo/title to maintain visual balance
1183+
*/
11801184
.navbar__logo {
11811185
width: 40px !important;
11821186
height: 40px !important;
1187+
margin-right: 0.5rem !important;
1188+
}
1189+
1190+
.navbar__brand {
1191+
margin-left: 0.5rem !important;
11831192
}
11841193

11851194
.navbar .navbar__title,
11861195
.navbar__brand .navbar__title,
11871196
.navbar__inner .navbar__brand .navbar__title {
1188-
font-size: 1.1rem !important;
1189-
line-height: 1.4rem !important;
1197+
font-size: 1.25rem !important;
1198+
line-height: 1.5rem !important;
11901199
}
11911200

11921201
/* Better mobile bot interface */

0 commit comments

Comments
 (0)