aboutsummaryrefslogtreecommitdiffstats
path: root/web_src
diff options
context:
space:
mode:
authorKN4CK3R <admin@oldschoolhack.me>2022-07-10 14:58:26 +0200
committerGitHub <noreply@github.com>2022-07-10 20:58:26 +0800
commite24b0fc7b8bfc4dee2554c86ad2dc960c66d10cb (patch)
tree42a1b10ddf9654fdbb661b0f284d63fbe00288ab /web_src
parent9f3906b2a3ab410bfb16aa1b69484554b0601e5c (diff)
downloadgitea-e24b0fc7b8bfc4dee2554c86ad2dc960c66d10cb.tar.gz
gitea-e24b0fc7b8bfc4dee2554c86ad2dc960c66d10cb.zip
Changed scroll to auto for some UI elements. (#20294)
Addition to: Show scrollbar when necessary #20142 Fixes the "empty" scrollbars with Firefox.
Diffstat (limited to 'web_src')
-rw-r--r--web_src/less/_admin.less2
-rw-r--r--web_src/less/_repository.less4
-rw-r--r--web_src/less/_user.less2
-rw-r--r--web_src/less/features/gitgraph.less2
4 files changed, 5 insertions, 5 deletions
diff --git a/web_src/less/_admin.less b/web_src/less/_admin.less
index 3af0c57d11..b18bc7c5e0 100644
--- a/web_src/less/_admin.less
+++ b/web_src/less/_admin.less
@@ -12,7 +12,7 @@
.table.segment {
padding: 0;
font-size: 13px;
- overflow-x: scroll;
+ overflow-x: auto;
&:not(.striped) {
thead {
diff --git a/web_src/less/_repository.less b/web_src/less/_repository.less
index 7bbd412b61..0ad937f028 100644
--- a/web_src/less/_repository.less
+++ b/web_src/less/_repository.less
@@ -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 {
@@ -3401,7 +3401,7 @@ td.blob-excerpt {
}
.commit-table {
- overflow-x: scroll;
+ overflow-x: auto;
td.sha,
th.sha {
diff --git a/web_src/less/_user.less b/web_src/less/_user.less
index 4576d1c9e7..a9b6c02fb7 100644
--- a/web_src/less/_user.less
+++ b/web_src/less/_user.less
@@ -170,5 +170,5 @@
}
#notification_div .tab.segment {
- overflow-x: scroll;
+ overflow-x: auto;
}
diff --git a/web_src/less/features/gitgraph.less b/web_src/less/features/gitgraph.less
index 25dcc02159..efb6071e49 100644
--- a/web_src/less/features/gitgraph.less
+++ b/web_src/less/features/gitgraph.less
@@ -1,5 +1,5 @@
#git-graph-container {
- overflow-x: scroll;
+ overflow-x: auto;
width: 100%;
min-height: 350px;