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.
This commit is contained in:
Krzysztof Jeziorny 2023-04-19 18:13:00 +02:00 committed by GitHub
parent 15d6638c15
commit fcad9fd19f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 4 deletions

View file

@ -1814,9 +1814,8 @@ footer {
} }
footer .container { footer .container {
width: 100vw !important;
padding: 0 0.5rem; padding: 0 0.5rem;
max-width: calc(100vw - 1rem) !important; max-width: 100%;
} }
footer .container .links > * { footer .container .links > * {

View file

@ -84,7 +84,6 @@
} }
.dashboard .dashboard-navbar { .dashboard .dashboard-navbar {
width: 100vw;
padding-left: 0.5rem; padding-left: 0.5rem;
padding-right: 0.5rem; padding-right: 0.5rem;
} }