web: fix scrolling in modals in low-height views (#3596)

This commit is contained in:
relative 2022-09-21 13:37:57 -04:00 committed by GitHub
parent 81e820b6e6
commit 241e36b2a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -106,6 +106,11 @@ html > form > input {
margin-bottom: 6px; margin-bottom: 6px;
} }
/* Fix scrolling in modals in low-height viewports on Chromium */
.pf-c-modal-box__body {
overflow: hidden;
}
@media (prefers-color-scheme: dark) { @media (prefers-color-scheme: dark) {
.ak-static-page h1 { .ak-static-page h1 {
color: var(--ak-dark-foreground); color: var(--ak-dark-foreground);