Skip to content

A platform for community discussion. Free, open, simple.

DEV: allow optional modal height vars to be set (#29315)

Kris4cb46ecb0fd4
diff --git a/app/assets/stylesheets/desktop/modal.scss b/app/assets/stylesheets/desktop/modal.scss
index 2744dcc4b16..f4a4b5333a9 100644
--- a/app/assets/stylesheets/desktop/modal.scss
+++ b/app/assets/stylesheets/desktop/modal.scss
@@ -5,6 +5,9 @@
&__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);
.d-modal.-large & {
max-width: 800px;
}