Skip to content

Commit f97d30a

Browse files
committed
Changed scroll to auto for some UI elements. (go-gitea#20294)
Addition to: Show scrollbar when necessary go-gitea#20142 Fixes the "empty" scrollbars with Firefox.
1 parent 317c565 commit f97d30a

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

web_src/less/_admin.less

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
.table.segment {
1313
padding: 0;
1414
font-size: 13px;
15-
overflow-x: scroll;
15+
overflow-x: auto;
1616

1717
&:not(.striped) {
1818
thead {

web_src/less/_repository.less

+2-2
Original file line numberDiff line numberDiff line change
@@ -3352,7 +3352,7 @@ td.blob-excerpt {
33523352
.commit-header-row {
33533353
.ui.horizontal.list {
33543354
width: 100%;
3355-
overflow-x: scroll;
3355+
overflow-x: auto;
33563356
margin-top: 2px;
33573357

33583358
.item {
@@ -3401,7 +3401,7 @@ td.blob-excerpt {
34013401
}
34023402

34033403
.commit-table {
3404-
overflow-x: scroll;
3404+
overflow-x: auto;
34053405

34063406
td.sha,
34073407
th.sha {

web_src/less/_user.less

+1-1
Original file line numberDiff line numberDiff line change
@@ -170,5 +170,5 @@
170170
}
171171

172172
#notification_div .tab.segment {
173-
overflow-x: scroll;
173+
overflow-x: auto;
174174
}

web_src/less/features/gitgraph.less

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#git-graph-container {
2-
overflow-x: scroll;
2+
overflow-x: auto;
33
width: 100%;
44
min-height: 350px;
55

0 commit comments

Comments
 (0)