Skip to content

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

FIX: ensures local-dates modal is not taking full height on mobile (#7772)

Joffrey JAFFEUX32cd9ba59b7e
diff --git a/plugins/discourse-local-dates/assets/stylesheets/common/discourse-local-dates.scss b/plugins/discourse-local-dates/assets/stylesheets/common/discourse-local-dates.scss
index 46d6c6e822a..cd2a6ed3f17 100644
--- a/plugins/discourse-local-dates/assets/stylesheets/common/discourse-local-dates.scss
+++ b/plugins/discourse-local-dates/assets/stylesheets/common/discourse-local-dates.scss
@@ -297,14 +297,16 @@
}
html:not(.mobile-view) {
- .discourse-local-dates-create-modal.modal-body {
+ .fixed-modal .discourse-local-dates-create-modal.modal-body {
width: 600px;
- max-height: 400px;
+ max-height: 400px !important;
}
}
html.mobile-view {
- .discourse-local-dates-create-modal.modal-body {
+ .fixed-modal .discourse-local-dates-create-modal.modal-body {
+ max-height: 400px !important;
+
.date-time-configuration {
flex-direction: column;
}