Skip to content

Commit 7d717e2

Browse files
GiteaBotkrzysztofjeziorny
andauthoredApr 20, 2023
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>
1 parent dc66cea commit 7d717e2

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed
 

‎web_src/css/base.css

+2-3
Original file line numberDiff line numberDiff line change
@@ -1830,9 +1830,8 @@ footer {
18301830
}
18311831

18321832
footer .container {
1833-
width: 100vw !important;
18341833
padding: 0 0.5rem;
1835-
max-width: calc(100vw - 1rem) !important;
1834+
max-width: 100%;
18361835
}
18371836

18381837
footer .container .links > * {
@@ -2384,7 +2383,7 @@ a.ui.label:hover {
23842383
}
23852384

23862385
.ui.primary.label,
2387-
.ui.primary.labels .label,
2386+
.ui.primary.labels .label,
23882387
.ui.ui.ui.primary.label {
23892388
background-color: var(--color-primary);
23902389
border-color: var(--color-primary-dark-2);

‎web_src/css/dashboard.css

-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,6 @@
8484
}
8585

8686
.dashboard .dashboard-navbar {
87-
width: 100vw;
8887
padding-left: 0.5rem;
8988
padding-right: 0.5rem;
9089
}

0 commit comments

Comments
 (0)
Please sign in to comment.