style: 选中水平布局超级块内的单个块时,高亮范围与超级块保持一致,覆盖 margin

This commit is contained in:
Jeffrey Chen 2024-12-21 17:41:12 +08:00
parent 3373e08bc6
commit 6c36912631

View file

@ -177,6 +177,13 @@
position: initial;
margin-left: 4px;
}
/* 选中块的高亮覆盖 margin */
&> :not(.sb).protyle-wysiwyg--select::after,
&> :not(.sb).protyle-wysiwyg--hl::after{
height: calc(100% + 4px);
top: -2px;
}
}
}