🐛(frontend) fix background color during dnd

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.
This commit is contained in:
Anthony LC
2025-09-02 10:25:33 +02:00
parent a799d77643
commit 474e5ac0c0

View File

@@ -110,6 +110,10 @@ export const DocSubPageItem = (props: TreeViewNodeProps<Doc>) => {
background: var(--c--theme--colors--greyscale-100);
}
}
.row.preview & {
background-color: inherit;
}
`}
>
<TreeViewItem