1
0
Fork 0
mirror of synced 2024-10-04 03:54:37 +13:00

Update new component DND to use proper styles

This commit is contained in:
Andrew Kingston 2022-05-19 20:11:04 +01:00
parent 050f4900b3
commit 8ee95c0779

View file

@ -182,24 +182,23 @@
.drop-item {
height: 2px;
background: green;
background: var(--spectrum-global-color-static-green-500);
z-index: 999;
position: absolute;
top: calc(var(--indicatorY) - 1px);
left: var(--indicatorX);
width: 100px;
border-radius: 4px;
}
.drop-item.above {
background: red;
}
.drop-item.below {
background: blue;
margin-top: 32px;
}
.drop-item.inside {
background: transparent;
border: 2px solid green;
height: 32px;
border: 2px solid var(--spectrum-global-color-static-green-500);
height: 29px;
pointer-events: none;
}
</style>