From 32cd9ba59b7ea6cb3f56bd7df24c768df2c86253 Mon Sep 17 00:00:00 2001 From: Joffrey JAFFEUX Date: Sun, 16 Jun 2019 08:48:07 +0200 Subject: [PATCH] FIX: ensures local-dates modal is not taking full height on mobile (#7772) --- .../assets/stylesheets/common/discourse-local-dates.scss | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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; }