Improve drag block highlighting (#13281)

This commit is contained in:
Jeffrey Chen 2024-11-26 20:06:25 +08:00 committed by GitHub
parent 90960c0046
commit e85018956b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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 {