Improve drag block highlighting

This commit is contained in:
Jeffrey Chen 2024-11-26 17:13:28 +08:00 committed by Jeffrey Chen
parent 9860fc7749
commit df5d2ad150

View file

@ -1,5 +1,16 @@
.dragover {
background-color: var(--b3-theme-primary-lightest) !important;
&::after {
background-color: var(--b3-theme-primary-lightest);
position: absolute;
width: 100%;
height: 100%;
content: " ";
left: 0;
top: 0;
z-index: 3;
pointer-events: none;
}
// 需要 !important否则拖拽到闪卡无效果
&__top {