Krolyxon
Commit 3cb9866

ferrenium3cb9866

Keep the ref picker menu on screen on narrow viewports

When the repository bar wraps, the picker sat at the left edge and its
right-anchored menu extended off screen. Keep the picker right-aligned.

Fixes #1
Author
krolyxon
Date
2026-11-06 11:00 +0530
Parent
ec28036
Commit
3cb98660712aa0e33c35fba35cb913a70525ed61

+3 −0

1 file changed

  1. M assets/css/repo.css +3 −0
M assets/css/repo.css View
@@ -30,8 +30,11 @@
3030 white-space: nowrap;
3131 }
3232
33+/* margin-left: auto keeps the picker at the right edge when the bar wraps
34+ (narrow screens), so the right-anchored menu opens on screen. */
3335 .ref-picker {
3436 position: relative;
37+ margin-left: auto;
3538 }
3639
3740 .ref-picker summary {