From 52511a32609c61e8a804bb7d0ce981e9fa3ceb92 Mon Sep 17 00:00:00 2001 From: Kris Date: Thu, 11 Jan 2024 19:15:37 -0500 Subject: [PATCH] DEV: remove `:has` selector from composer (#25233) --- app/assets/stylesheets/common/base/compose.scss | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/app/assets/stylesheets/common/base/compose.scss b/app/assets/stylesheets/common/base/compose.scss index 8f5ce41cd6e..5cb820f66eb 100644 --- a/app/assets/stylesheets/common/base/compose.scss +++ b/app/assets/stylesheets/common/base/compose.scss @@ -21,12 +21,10 @@ html.composer-open { max-width: 740px; } - &:has(.with-form-template) { - max-width: 740px; - + .with-form-template { .toggle-preview, - .submit-panel .mobile-preview, - .submit-panel .mobile-file-upload:not(.hidden) { + #mobile-file-upload, + .submit-panel .mobile-preview { display: none; } .d-editor-preview-wrapper {