summaryrefslogtreecommitdiffstats
path: root/web_src
diff options
context:
space:
mode:
authorGusted <williamzijl7@hotmail.com>2022-06-27 07:20:47 +0200
committerGitHub <noreply@github.com>2022-06-27 13:20:47 +0800
commit0dab13884ad610930ad256c2a466eefc480e9cee (patch)
tree753b8b7108037d760fa235399f952af2904241db /web_src
parent0b7b342ab0b3cd26d8eb4ffb7f2df2ce505bb2ac (diff)
downloadgitea-0dab13884ad610930ad256c2a466eefc480e9cee.tar.gz
gitea-0dab13884ad610930ad256c2a466eefc480e9cee.zip
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
Diffstat (limited to 'web_src')
-rw-r--r--web_src/less/_repository.less2
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;
}