mirror of
https://github.com/discourse/discourse.git
synced 2025-02-20 11:48:26 -06:00
UX: fallback max-height for modal style (#29321)
This commit is contained in:
parent
f9d86686ae
commit
fa42565515
@ -26,9 +26,9 @@
|
||||
pointer-events: auto;
|
||||
box-sizing: border-box;
|
||||
margin: 0 auto;
|
||||
max-height: 80vh;
|
||||
background-color: var(--secondary);
|
||||
box-shadow: var(--shadow-modal);
|
||||
max-height: var(--modal-max-height, 80vh); // unset, optional theme utility
|
||||
}
|
||||
|
||||
&__header {
|
||||
|
@ -5,9 +5,7 @@
|
||||
&__container {
|
||||
max-width: var(--modal-max-width);
|
||||
min-width: var(--modal-min-width);
|
||||
// height values add optional theme utility
|
||||
max-height: var(--modal-max-height);
|
||||
min-height: var(--modal-min-height);
|
||||
min-height: var(--modal-min-height); // unset, optional theme utility
|
||||
.d-modal.-large & {
|
||||
max-width: 800px;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user