Skip to content

Commit 474e5ac

Browse files
committed
🐛(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.
1 parent a799d77 commit 474e5ac

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/frontend/apps/impress/src/features/docs/doc-tree/components/DocSubPageItem.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,10 @@ export const DocSubPageItem = (props: TreeViewNodeProps<Doc>) => {
110110
background: var(--c--theme--colors--greyscale-100);
111111
}
112112
}
113+
114+
.row.preview & {
115+
background-color: inherit;
116+
}
113117
`}
114118
>
115119
<TreeViewItem

0 commit comments

Comments
 (0)