Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:art: https://github.com/siyuan-note/siyuan/issues/18179

Vanessafa76fdefe125
diff --git a/app/src/assets/scss/protyle/_wysiwyg.scss b/app/src/assets/scss/protyle/_wysiwyg.scss
index d8ffb9f610..a681e98dc3 100644
--- a/app/src/assets/scss/protyle/_wysiwyg.scss
+++ b/app/src/assets/scss/protyle/_wysiwyg.scss
@@ -792,21 +792,31 @@
opacity: 0;
}
- &.list {
- height: 1.625em;
- }
-
&.av {
height: 4.8em;
}
- &.sb,
- &.table,
- &.bq,
- &[data-type="NodeBlockQueryEmbed"] {
+ &.table {
+ height: calc(1.625em + 6px);
+ }
+
+ &.sb {
+ height: calc(1.625em + 14px);
+ }
+
+ &.list {
height: calc(1.625em + 12px);
}
+ &.callout {
+ height: calc(1.625em * 2.14 + 8px);
+ }
+
+ &[data-type="NodeBlockQueryEmbed"],
+ &.bq {
+ height: calc(1.625em + 8px);
+ }
+
&.code-block {
line-height: 1.625;
height: 1.625em;