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

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

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 46d6c6e..cd2a6ed 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;
     }

GitHub sha: 32cd9ba5

2 Likes