mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-09-15 18:56:59 +00:00
[v10.0/forgejo] fix(ui): prevent overflow of branch selector in commit graph (#6636)
**Backport:** https://codeberg.org/forgejo/forgejo/pulls/6617 Fix that the branch selector in the commit graph can overflow | Previous | Now | | :----: | :----: | |  |  | |  |  | |  |  | Fixes #6615 Co-authored-by: Beowulf <beowulf@beocode.eu> Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/6636 Reviewed-by: Otto <otto@codeberg.org> Reviewed-by: Beowulf <beowulf@beocode.eu> Co-authored-by: forgejo-backport-action <forgejo-backport-action@noreply.codeberg.org> Co-committed-by: forgejo-backport-action <forgejo-backport-action@noreply.codeberg.org>
This commit is contained in:
parent
28db11f2e7
commit
054537989f
2 changed files with 31 additions and 7 deletions
|
@ -23,6 +23,18 @@
|
|||
#git-graph-heading {
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
#git-graph-heading-left {
|
||||
margin-right: 1rem;
|
||||
}
|
||||
|
||||
#git-graph-heading h2 {
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
#git-graph-container #flow-select-refs-dropdown {
|
||||
min-width: 250px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 767.98px) {
|
||||
|
@ -34,15 +46,10 @@
|
|||
#git-graph-heading-left {
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
h2,
|
||||
#flow-select-refs-dropdown {
|
||||
max-width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
#git-graph-container #flow-select-refs-dropdown {
|
||||
min-width: 250px;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
#git-graph-container #flow-select-refs-dropdown .ui.label {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue