diff options
author | Gusted <williamzijl7@hotmail.com> | 2022-06-27 14:34:20 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-27 20:34:20 +0800 |
commit | 5371964a4ed0031113e362108775617fe96fd6ac (patch) | |
tree | 67f25d1538cbd08f110d9995026ccf9a83427536 /web_src/less | |
parent | 1f7c717b590963e25d4ea37f25d3cdf5b695b77c (diff) | |
download | gitea-5371964a4ed0031113e362108775617fe96fd6ac.tar.gz gitea-5371964a4ed0031113e362108775617fe96fd6ac.zip |
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>
Diffstat (limited to 'web_src/less')
-rw-r--r-- | web_src/less/_repository.less | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web_src/less/_repository.less b/web_src/less/_repository.less index 2686c0d280..bc1affb770 100644 --- a/web_src/less/_repository.less +++ b/web_src/less/_repository.less @@ -3051,7 +3051,7 @@ td.blob-excerpt { align-items: center; display: flex; justify-content: space-between; - overflow-x: scroll; + overflow-x: auto; padding: 8px 12px !important; } |