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
+3 −0
1 file changed
- M assets/css/repo.css +3 −0
| @@ -30,8 +30,11 @@ | |||
| 30 | 30 | white-space: nowrap; | |
| 31 | 31 | } | |
| 32 | 32 | ||
| 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. */ | |
| 33 | 35 | .ref-picker { | |
| 34 | 36 | position: relative; | |
| 37 | + | margin-left: auto; | |
| 35 | 38 | } | |
| 36 | 39 | ||
| 37 | 40 | .ref-picker summary { | |