改进引述块样式和高亮样式 (#13143)

* 引述块的左边框不需要圆角

* 让高亮覆盖引述块的左边框

* 让子列表块的高亮与其他块的高亮对齐

* 让高亮覆盖引述块的左边框
This commit is contained in:
Jeffrey Chen 2024-11-14 11:39:39 +08:00 committed by GitHub
parent e8e6d81e0d
commit 4ef73e6c6d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 20 additions and 0 deletions

View file

@ -124,6 +124,8 @@
border-left: .25em solid var(--b3-theme-surface-lighter);
background-color: var(--b3-bq-background);
margin: 4px 0;
border-top-left-radius: 0;
border-bottom-left-radius: 0;
}
.h1,

View file

@ -55,6 +55,16 @@
}
}
&.bq {
&.protyle-wysiwyg--select,
&.protyle-wysiwyg--hl {
&::after {
left: -0.25em;
width: calc(100% + 0.25em);
}
}
}
.bq {
.dragover {
&__top:not(.av__row) {
@ -173,6 +183,14 @@
padding-left: 16px;
padding-top: 0;
padding-bottom: 0;
&.protyle-wysiwyg--select,
&.protyle-wysiwyg--hl {
&::after {
left: 16px;
width: calc(100% - 16px);
}
}
}
}