diff options
author | zeripath <art27@cantab.net> | 2021-09-21 09:35:28 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-21 09:35:28 +0100 |
commit | 10108b184efe28da85bbbc7efef24a79ccbd3cd0 (patch) | |
tree | e1ac36ca82125173ebc0e66f6a46c4f7ade32782 /web_src/less | |
parent | b231d0deabf8c5e5def785e65d4d62d9355fbcd4 (diff) | |
download | gitea-10108b184efe28da85bbbc7efef24a79ccbd3cd0.tar.gz gitea-10108b184efe28da85bbbc7efef24a79ccbd3cd0.zip |
Add Horizontal scrollbar to inner menu on Chrome (#17086)
There is a longstanding bug whereby the admin pages, in particular, have not had
a horizontal scrollbar on chrome when the page is narrow.
This PR simply adds overflow-x and adds a default height to the scrollbar to
match that of the vertical bar.
Signed-off-by: Andrew Thornton <art27@cantab.net>
Diffstat (limited to 'web_src/less')
-rw-r--r-- | web_src/less/_base.less | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/web_src/less/_base.less b/web_src/less/_base.less index 55632687d4..4702cb281e 100644 --- a/web_src/less/_base.less +++ b/web_src/less/_base.less @@ -181,6 +181,7 @@ details summary > * { ::-webkit-scrollbar { width: 10px; + height: 10px; } ::-webkit-scrollbar-thumb { box-shadow: inset 0 0 0 6px var(--color-primary); @@ -1285,6 +1286,7 @@ footer { display: flex; margin-left: auto; margin-right: auto; + overflow-x: auto; } @media @mediaSm { |