Skip to content

Commit

Permalink
Show scrollbar when necessary (go-gitea#20142)
Browse files Browse the repository at this point in the history
- 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

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
  • Loading branch information
2 people authored and Sysoev, Vladimir committed Aug 10, 2022
1 parent 1c5af86 commit a533b45
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 a533b45

Please sign in to comment.