mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 03:51:07 +08:00
A11Y: set modal widths with EMs; improves scaling (#14863)
This commit is contained in:
@ -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;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user