From c6811ca2ec8acbd771e8af86da7c2127914579fe Mon Sep 17 00:00:00 2001
From: bobzel <zzzman@gmail.com>
Date: Wed, 30 Apr 2025 15:04:57 -0400
Subject: fixed task boxes from collapsing after being edited in lightbox view.

---
 src/client/views/MainView.tsx | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

(limited to 'src/client/views/MainView.tsx')

diff --git a/src/client/views/MainView.tsx b/src/client/views/MainView.tsx
index ad6bb09c7..ab3757489 100644
--- a/src/client/views/MainView.tsx
+++ b/src/client/views/MainView.tsx
@@ -730,7 +730,8 @@ export class MainView extends ObservableReactComponent<object> {
                     style={{
                         width: `calc(100% - ${this._leftMenuFlyoutWidth + this.leftMenuWidth() + this.propertiesWidth()}px)`,
                         minWidth: `calc(100% - ${this._leftMenuFlyoutWidth + this.leftMenuWidth() + this.propertiesWidth()}px)`,
-                        transform: DocumentView.LightboxDoc() ? 'scale(0.0001)' : undefined,
+                        opacity: DocumentView.LightboxDoc() ? 0 : undefined,
+                        pointerEvents: DocumentView.LightboxDoc() ? 'none' : undefined,
                     }}>
                     {!this.mainContainer ? null : this.mainDocView}
                 </div>
-- 
cgit v1.2.3-70-g09d2

