mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-22 16:26:09 +01:00
Improve drag block highlighting (#13281)
This commit is contained in:
parent
90960c0046
commit
e85018956b
1 changed files with 12 additions and 1 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue