Skip to content

Commit

Permalink
Vertical widths of containers removed (#24184)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
krzysztofjeziorny committed Apr 19, 2023
1 parent 15d6638 commit fcad9fd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
5 changes: 2 additions & 3 deletions web_src/css/base.css
Original file line number Diff line number Diff line change
Expand Up @@ -1814,9 +1814,8 @@ footer {
}

footer .container {
width: 100vw !important;
padding: 0 0.5rem;
max-width: calc(100vw - 1rem) !important;
max-width: 100%;
}

footer .container .links > * {
Expand Down Expand Up @@ -2368,7 +2367,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);
Expand Down
1 change: 0 additions & 1 deletion web_src/css/dashboard.css
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@
}

.dashboard .dashboard-navbar {
width: 100vw;
padding-left: 0.5rem;
padding-right: 0.5rem;
}
Expand Down

0 comments on commit fcad9fd

Please sign in to comment.