From 044f6c77b27451ca6a902fc38051241f7cd8c249 Mon Sep 17 00:00:00 2001 From: jarek Date: Sun, 15 Dec 2024 19:18:21 +0100 Subject: [PATCH] Hiding collapsed section in print preview (#1339) --- app/client/components/LayoutTray.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/client/components/LayoutTray.ts b/app/client/components/LayoutTray.ts index d79453ef72..598399f639 100644 --- a/app/client/components/LayoutTray.ts +++ b/app/client/components/LayoutTray.ts @@ -1198,6 +1198,11 @@ const cssCollapsedTray = styled('div.collapsed_layout', ` outline: 2px dashed #7B8CEA; background: rgba(123, 140, 234, 0.1); } + @media print { + & { + display: none; + } + } ` );