Skip to content

Commit

Permalink
Changed scroll to auto for some UI elements. (go-gitea#20294)
Browse files Browse the repository at this point in the history
Addition to: Show scrollbar when necessary go-gitea#20142
Fixes the "empty" scrollbars with Firefox.
  • Loading branch information
KN4CK3R authored and Sysoev, Vladimir committed Aug 10, 2022
1 parent 8b6e06d commit caaf48d
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion web_src/less/_admin.less
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
.table.segment {
padding: 0;
font-size: 13px;
overflow-x: scroll;
overflow-x: auto;

&:not(.striped) {
thead {
Expand Down
4 changes: 2 additions & 2 deletions web_src/less/_repository.less
Original file line number Diff line number Diff line change
Expand Up @@ -3352,7 +3352,7 @@ td.blob-excerpt {
.commit-header-row {
.ui.horizontal.list {
width: 100%;
overflow-x: scroll;
overflow-x: auto;
margin-top: 2px;

.item {
Expand Down Expand Up @@ -3401,7 +3401,7 @@ td.blob-excerpt {
}

.commit-table {
overflow-x: scroll;
overflow-x: auto;

td.sha,
th.sha {
Expand Down
2 changes: 1 addition & 1 deletion web_src/less/_user.less
Original file line number Diff line number Diff line change
Expand Up @@ -170,5 +170,5 @@
}

#notification_div .tab.segment {
overflow-x: scroll;
overflow-x: auto;
}
2 changes: 1 addition & 1 deletion web_src/less/features/gitgraph.less
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#git-graph-container {
overflow-x: scroll;
overflow-x: auto;
width: 100%;
min-height: 350px;

Expand Down

0 comments on commit caaf48d

Please sign in to comment.