Skip to content

Commit 4d131c9

Browse files
krzysztofjeziornyGiteaBot
authored andcommitted
Vertical widths of containers removed (go-gitea#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.
1 parent f134229 commit 4d131c9

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)