mirror of
https://github.com/go-gitea/gitea
synced 2024-12-27 05:24:34 +01:00
Show scrollbar when necessary (#20142)
- Firefox on Windows will unconditionally show scrollbars when you specify `overflow: scroll`. This is bad behavior, as you don't always need the scrollbar. Changing the scroll value to auto fixes this issue and only shows the scrollbar when necessary. - Resolves #20139 Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
This commit is contained in:
parent
1f7c717b59
commit
5371964a4e
1 changed files with 1 additions and 1 deletions
|
@ -3051,7 +3051,7 @@ td.blob-excerpt {
|
||||||
align-items: center;
|
align-items: center;
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
overflow-x: scroll;
|
overflow-x: auto;
|
||||||
padding: 8px 12px !important;
|
padding: 8px 12px !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue