Skip to content

Commit 96c2941

Browse files
kwagyemanclaude
andcommitted
docs: tighten mobile burger-menu gap above the translations block
The theme puts 2rem (32px) top padding on the mobile menu's search/socials/translations block, leaving an oversized gap under the section links. Reduce it to 0.75rem for a normal section break (max-width 767px only; desktop navbar unaffected). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent 5e69dd0 commit 96c2941

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

docs/static/custom.css

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1164,6 +1164,15 @@ video.framed,
11641164
width: auto;
11651165
}
11661166

1167+
/* Mobile burger menu: the theme puts 2rem (32px) of top padding above the
1168+
search/socials/translations block, leaving a big gap under the section
1169+
links. Tighten it to a normal section break (keep some separation). */
1170+
@media (max-width: 767px) {
1171+
.sy-head-extra {
1172+
padding-top: 0.75rem;
1173+
}
1174+
}
1175+
11671176
/* ─── RTL (Arabic, Hebrew) ───────────────────────────────────────────
11681177
The Shibuya theme mirrors its own chrome from <html dir="rtl">, but the
11691178
custom home-page components above use physical left/right properties.

0 commit comments

Comments
 (0)