A11Y: set modal widths with EMs; improves scaling (#14863)

This commit is contained in:
Kris
2021-11-09 14:56:05 -05:00
committed by GitHub
parent 3becc55833
commit a87216f1f3
5 changed files with 15 additions and 8 deletions

View File

@ -311,7 +311,8 @@
html:not(.mobile-view) {
.fixed-modal .discourse-local-dates-create-modal.modal-body {
width: 600px;
width: 40em; // using ems to scale with user font size
max-width: 100vw; // avoids overflow if someone has extreme font-sizes impacting width
max-height: 400px !important;
}
}