mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2026-05-12 22:10:25 +00:00
fix: make repository menu not overflow with JS off (#11614)
Closes #11400 Overflow is handled by javascript to show a button instead of horizontally scrolling, this is not the case when javascript is disabled. Add CSS to handle overflow, does not interfere with the javascript. ## Testing 1. Go to any repository. 2. Turn off javascript. 3. Make viewport width small. 4. Observe that repository menu under the repository header doesn't overflow. Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/11614 Reviewed-by: 0ko <0ko@noreply.codeberg.org> Reviewed-by: Beowulf <beowulf@beocode.eu> Co-authored-by: Artyom Bologov <git@aartaka.me> Co-committed-by: Artyom Bologov <git@aartaka.me>
This commit is contained in:
parent
7d2f1c2ee7
commit
9a741f7bd5
1 changed files with 1 additions and 0 deletions
|
|
@ -985,6 +985,7 @@ strong.attention-caution, svg.attention-caution {
|
|||
overflow-menu {
|
||||
border-bottom: 1px solid var(--color-secondary) !important;
|
||||
display: flex;
|
||||
overflow-x: auto;
|
||||
}
|
||||
|
||||
overflow-menu .overflow-menu-items {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue