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>
This commit is contained in:
zeripath 2021-09-21 09:35:28 +01:00 committed by GitHub
parent b231d0deab
commit 10108b184e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -181,6 +181,7 @@ details summary > * {
::-webkit-scrollbar { ::-webkit-scrollbar {
width: 10px; width: 10px;
height: 10px;
} }
::-webkit-scrollbar-thumb { ::-webkit-scrollbar-thumb {
box-shadow: inset 0 0 0 6px var(--color-primary); box-shadow: inset 0 0 0 6px var(--color-primary);
@ -1285,6 +1286,7 @@ footer {
display: flex; display: flex;
margin-left: auto; margin-left: auto;
margin-right: auto; margin-right: auto;
overflow-x: auto;
} }
@media @mediaSm { @media @mediaSm {