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

Vanessa06e3e07a0bc5
diff --git a/app/src/assets/scss/protyle/_wysiwyg.scss b/app/src/assets/scss/protyle/_wysiwyg.scss
index 1cd5182332..d8ffb9f610 100644
--- a/app/src/assets/scss/protyle/_wysiwyg.scss
+++ b/app/src/assets/scss/protyle/_wysiwyg.scss
@@ -793,46 +793,23 @@
}
&.list {
- height: 34px;
-
- .li:first-child {
- overflow: hidden;
- height: 34px;
- }
- }
-
- &[data-type="NodeBlockQueryEmbed"] {
- height: 42px;
-
- .protyle-wysiwyg__embed {
- height: 34px;
- overflow: hidden;
- }
+ height: 1.625em;
}
&.av {
- height: 109px;
+ height: 4.8em;
}
&.sb,
- &.table {
- height: 36px;
- }
-
- &.bq {
- height: 42px;
-
- & > div:first-child {
- font-size: 16px;
- height: 26px;
- line-height: 26px;
- overflow: hidden;
- }
+ &.table,
+ &.bq,
+ &[data-type="NodeBlockQueryEmbed"] {
+ height: calc(1.625em + 12px);
}
&.code-block {
line-height: 1.625;
- height: 25px;
+ height: 1.625em;
.protyle-action__language {
opacity: .86;