Skip to content

Commit 5371964

Browse files
Gustedlunny
Gusted
andauthored
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 <[email protected]>
1 parent 1f7c717 commit 5371964

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web_src/less/_repository.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3051,7 +3051,7 @@ td.blob-excerpt {
30513051
align-items: center;
30523052
display: flex;
30533053
justify-content: space-between;
3054-
overflow-x: scroll;
3054+
overflow-x: auto;
30553055
padding: 8px 12px !important;
30563056
}
30573057

0 commit comments

Comments
 (0)