From 38c8fc613640d2381a5a84dc32713c8ea7c3982f Mon Sep 17 00:00:00 2001 From: David Taylor Date: Wed, 13 Sep 2023 16:24:28 +0100 Subject: [PATCH] FIX: discourse-local-dates mobile layout following 8a577984 (#23564) The html/class structure has slightly changed, so these selectors were no longer working as intended --- .../assets/stylesheets/common/discourse-local-dates.scss | 4 ++-- 1 file changed, 2 insertions(+), 2 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 7da460635dd..ae3baf3807e 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 @@ -254,7 +254,7 @@ div[data-tippy-root] { } html:not(.mobile-view) { - .fixed-modal .discourse-local-dates-create-modal.modal-body { + .discourse-local-dates-create-modal .modal-body { width: 40em; // using ems to scale with user font size max-width: 100vw; // avoids overflow if someone has extreme font-sizes impacting width max-height: 400px !important; @@ -262,7 +262,7 @@ html:not(.mobile-view) { } html.mobile-view { - .fixed-modal .discourse-local-dates-create-modal.modal-body { + .discourse-local-dates-create-modal .modal-body { max-height: 400px !important; .date-time-configuration {