style: 选中嵌入块的高亮覆盖其 border

This commit is contained in:
Jeffrey Chen 2024-12-21 04:23:41 +08:00
parent c5cb63f817
commit a43188edf8

View file

@ -266,6 +266,15 @@
max-width: 100%;
padding: 2px 4px;
/* 选中块的高亮覆盖 border */
&.protyle-wysiwyg--select::after,
&.protyle-wysiwyg--hl::after{
width: calc(100% + 2px);
height: calc(100% + 2px);
left: -1px;
top: -1px;
}
// https://github.com/siyuan-note/siyuan/issues/8715 & https://ld246.com/article/1689063197687 第一点无法进行以下设置
//.protyle-attr--refcount {right: 0;}