Skip to content

Commit

Permalink
Show scrollbar when necessary (go-gitea#20142)
Browse files Browse the repository at this point in the history
- Backport go-gitea#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 go-gitea#20139
  • Loading branch information
Gusted committed Jun 26, 2022
1 parent 0b7b342 commit eba3985
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web_src/less/_repository.less
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit eba3985

Please sign in to comment.