From 474e5ac0c050e8ba9f811c8e880e591d6b518793 Mon Sep 17 00:00:00 2001 From: Anthony LC Date: Tue, 2 Sep 2025 10:25:33 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B(frontend)=20fix=20background=20col?= =?UTF-8?q?or=20during=20dnd?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit When we were dragging an item in the doc tree, the background color was opaque, making it difficult to see the underlying content. The cause was that we were overriding the transparent background color. --- .../src/features/docs/doc-tree/components/DocSubPageItem.tsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/frontend/apps/impress/src/features/docs/doc-tree/components/DocSubPageItem.tsx b/src/frontend/apps/impress/src/features/docs/doc-tree/components/DocSubPageItem.tsx index 408e1106..d9b7ecfc 100644 --- a/src/frontend/apps/impress/src/features/docs/doc-tree/components/DocSubPageItem.tsx +++ b/src/frontend/apps/impress/src/features/docs/doc-tree/components/DocSubPageItem.tsx @@ -110,6 +110,10 @@ export const DocSubPageItem = (props: TreeViewNodeProps) => { background: var(--c--theme--colors--greyscale-100); } } + + .row.preview & { + background-color: inherit; + } `} >