UX: double scroll fix for keyboard shortcuts modal (#22535)

This commit is contained in:
chapoi 2023-07-11 16:30:53 +02:00 committed by GitHub
parent 3d231de12a
commit 83352e93ff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 3 deletions

View File

@ -33,13 +33,14 @@
}
}
.modal-body:has(#keyboard-shortcuts-help) {
overflow-y: hidden;
}
#keyboard-shortcuts-help {
box-sizing: border-box;
padding: 1em;
overflow-x: hidden;
overflow-y: auto;
width: 80vw;
max-width: 1500px;
max-height: 85vh !important; // overrides a default modal !important for extra space
.keyboard-shortcuts-help__container {