mirror of
https://github.com/discourse/discourse.git
synced 2025-06-06 23:07:28 +08:00
UX: restrict tall modal height to viewport %
This commit is contained in:
@ -143,7 +143,10 @@
|
|||||||
|
|
||||||
&:not(.history-modal) {
|
&:not(.history-modal) {
|
||||||
.modal-body:not(.reorder-categories):not(.poll-ui-builder) {
|
.modal-body:not(.reorder-categories):not(.poll-ui-builder) {
|
||||||
max-height: none !important;
|
max-height: 80vh !important;
|
||||||
|
@media screen and (max-height: 500px) {
|
||||||
|
max-height: 65vh !important;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user