From 3037a5d2a1ece616a695dfc62ddc01293ec7f908 Mon Sep 17 00:00:00 2001 From: Lim Chee Aun Date: Thu, 23 Feb 2023 17:01:59 +0800 Subject: [PATCH] Don't do media + context while opening media from composer --- src/app.css | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/app.css b/src/app.css index 83c01e3c..4bf50c17 100644 --- a/src/app.css +++ b/src/app.css @@ -897,12 +897,16 @@ body:has(.status-deck) .media-post-link { transition: all 0.3s ease-in-out; } /* Don't do this if there's a modal sheet (.sheet) */ - :has(#modal-container .carousel):has(.status-deck):not(:has(.sheet)) + :has(#modal-container .carousel):has(.status-deck):not( + :has(.sheet, #compose-container) + ) .status-deck { width: 350px; min-width: 0; } - :has(#modal-container .carousel):has(.status-deck):not(:has(.sheet)) + :has(#modal-container .carousel):has(.status-deck):not( + :has(.sheet, #compose-container) + ) #modal-container > div { left: 0;