Vertical widths of containers removed (#24184) (#24211)

Backport #24184 by @krzysztofjeziorny

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.

Co-authored-by: Krzysztof Jeziorny <872730+krzysztofjeziorny@users.noreply.github.com>
This commit is contained in:
GiteabotandKrzysztof Jeziorny authored and GitHub committed 2023-04-20 09:02:38 +08:00
1 parent dc66ceadac
commit 7d717e22a8
2 files changed
+2 -4

No files matched your search

+2 -3
View File
@@ -1830,9 +1830,8 @@ footer {
}
footer .container {
width: 100vw !important;
padding: 0 0.5rem;
max-width: calc(100vw - 1rem) !important;
max-width: 100%;
}
footer .container .links > * {
@@ -2384,7 +2383,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);
-1
View File
@@ -84,7 +84,6 @@
}
.dashboard .dashboard-navbar {
width: 100vw;
padding-left: 0.5rem;
padding-right: 0.5rem;
}