Skip to content

Commit 10108b1

Browse files
authored
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 <[email protected]>
1 parent b231d0d commit 10108b1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

web_src/less/_base.less

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,7 @@ details summary > * {
181181

182182
::-webkit-scrollbar {
183183
width: 10px;
184+
height: 10px;
184185
}
185186
::-webkit-scrollbar-thumb {
186187
box-shadow: inset 0 0 0 6px var(--color-primary);
@@ -1285,6 +1286,7 @@ footer {
12851286
display: flex;
12861287
margin-left: auto;
12871288
margin-right: auto;
1289+
overflow-x: auto;
12881290
}
12891291

12901292
@media @mediaSm {

0 commit comments

Comments
 (0)