🐛(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:
@@ -110,6 +110,10 @@ export const DocSubPageItem = (props: TreeViewNodeProps<Doc>) => {
|
||||
background: var(--c--theme--colors--greyscale-100);
|
||||
}
|
||||
}
|
||||
|
||||
.row.preview & {
|
||||
background-color: inherit;
|
||||
}
|
||||
`}
|
||||
>
|
||||
<TreeViewItem
|
||||
|
||||
Reference in New Issue
Block a user