Skip to content

Commit 52708e7

Browse files
committed
fix(style-rules): style div hides dnd box-shadow
1 parent 9f981e8 commit 52708e7

2 files changed

Lines changed: 22 additions & 4 deletions

File tree

src/styles/card/dnd.css

Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,29 @@
1+
.lineage-view {
2+
--lng-box-shadow-dnd-above: inset 2px 51px 19px -28px var(--lineage-accent);
3+
--lng-box-shadow-dnd-below: inset 2px -51px 19px -28px var(--lineage-accent);
4+
--lng-box-shadow-dnd-under: inset -51px 2px 19px -28px var(--lineage-accent)
5+
}
6+
17
.lineage__drop-node-above {
2-
box-shadow: inset 2px 51px 19px -28px var(--lineage-accent) !important;
8+
box-shadow: var(--lng-box-shadow-dnd-above) !important;
9+
& .card-background-style{
10+
box-shadow: var(--lng-box-shadow-dnd-above) !important;
11+
}
312
}
13+
414
.lineage__drop-node-below {
5-
box-shadow: inset 2px -51px 19px -28px var(--lineage-accent) !important;
15+
box-shadow: var(--lng-box-shadow-dnd-below) !important;
16+
& .card-background-style{
17+
box-shadow: var(--lng-box-shadow-dnd-below) !important;
18+
}
619
}
20+
721
.lineage__drop-node-under {
8-
box-shadow: inset -51px 2px 19px -28px var(--lineage-accent) !important;
22+
box-shadow: var(--lng-box-shadow-dnd-under) !important;
23+
24+
& .card-background-style{
25+
box-shadow: var(--lng-box-shadow-dnd-under) !important;
26+
}
927
}
1028

1129
.inactive-node-hover {

src/styles/theme/theme.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.lineage-main {
1+
.lineage-view {
22
--lineage-accent: #55b1ae;
33
--lineage-color-selection: #418cff;
44
}

0 commit comments

Comments
 (0)