forked from gitea/gitea
1
0
Fork 0

Show scrollbar when necessary (#20142) (#20143)

- Backport #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
This commit is contained in:
Gusted 2022-06-27 07:20:47 +02:00 committed by GitHub
parent 0b7b342ab0
commit 0dab13884a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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;
} }