Skip to content

Commit

Permalink
Improve drag block highlighting
Browse files Browse the repository at this point in the history
  • Loading branch information
TCOTC committed Nov 26, 2024
1 parent 9860fc7 commit df5d2ad
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion app/src/assets/scss/business/_drag.scss
Original file line number Diff line number Diff line change
@@ -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 {
Expand Down

0 comments on commit df5d2ad

Please sign in to comment.