Skip to content

Commit fcad9fd

Browse files
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.
1 parent 15d6638 commit fcad9fd

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
@@ -1814,9 +1814,8 @@ footer {
18141814
}
18151815

18161816
footer .container {
1817-
width: 100vw !important;
18181817
padding: 0 0.5rem;
1819-
max-width: calc(100vw - 1rem) !important;
1818+
max-width: 100%;
18201819
}
18211820

18221821
footer .container .links > * {
@@ -2368,7 +2367,7 @@ a.ui.label:hover {
23682367
}
23692368

23702369
.ui.primary.label,
2371-
.ui.primary.labels .label,
2370+
.ui.primary.labels .label,
23722371
.ui.ui.ui.primary.label {
23732372
background-color: var(--color-primary);
23742373
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)