aboutsummaryrefslogtreecommitdiffstats
path: root/web_src/css
diff options
context:
space:
mode:
authorKrzysztof Jeziorny <872730+krzysztofjeziorny@users.noreply.github.com>2023-04-19 18:13:00 +0200
committerGitHub <noreply@github.com>2023-04-19 12:13:00 -0400
commitfcad9fd19fc45e75f14f908e93aae06cd1bc4707 (patch)
tree87d990bf4c1fccec2b6c716f5c0bb4ca7a69b532 /web_src/css
parent15d6638c155fabcfed5a24d87f84bc1902774ce1 (diff)
downloadgitea-fcad9fd19fc45e75f14f908e93aae06cd1bc4707.tar.gz
gitea-fcad9fd19fc45e75f14f908e93aae06cd1bc4707.zip
Vertical widths of containers removed (#24184)
A vertical overflow appears in Firefox 112/MacOS 12.6 when the system setting for scrollbars is to "Always" show them. --- Here, the fixed 100vw container widths are removed, which removes the overflow. It is, however, only simulated in Developer Tools in latest Firefox and Chromium, so please test on a Gitea installation.
Diffstat (limited to 'web_src/css')
-rw-r--r--web_src/css/base.css5
-rw-r--r--web_src/css/dashboard.css1
2 files changed, 2 insertions, 4 deletions
diff --git a/web_src/css/base.css b/web_src/css/base.css
index bdf601951b..79e1566b64 100644
--- a/web_src/css/base.css
+++ b/web_src/css/base.css
@@ -1814,9 +1814,8 @@ footer {
}
footer .container {
- width: 100vw !important;
padding: 0 0.5rem;
- max-width: calc(100vw - 1rem) !important;
+ max-width: 100%;
}
footer .container .links > * {
@@ -2368,7 +2367,7 @@ a.ui.label:hover {
}
.ui.primary.label,
-.ui.primary.labels .label,
+.ui.primary.labels .label,
.ui.ui.ui.primary.label {
background-color: var(--color-primary);
border-color: var(--color-primary-dark-2);
diff --git a/web_src/css/dashboard.css b/web_src/css/dashboard.css
index ced8b3a164..4512367dc7 100644
--- a/web_src/css/dashboard.css
+++ b/web_src/css/dashboard.css
@@ -84,7 +84,6 @@
}
.dashboard .dashboard-navbar {
- width: 100vw;
padding-left: 0.5rem;
padding-right: 0.5rem;
}