Skip to content

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

:lipstick: https://github.com/siyuan-note/siyuan/issues/10533

Vanessae64d026c18a1
diff --git a/app/src/assets/scss/component/_typography.scss b/app/src/assets/scss/component/_typography.scss
index 1025eb91a7..a8b987412d 100644
--- a/app/src/assets/scss/component/_typography.scss
+++ b/app/src/assets/scss/component/_typography.scss
@@ -286,6 +286,7 @@
font-size: 85%;
color: var(--b3-theme-on-surface);
margin-top: -4px;
+ align-self: center;
}
.protyle-icon,
@@ -307,7 +308,7 @@
.hljs {
border-radius: var(--b3-border-radius);
- padding: 1.6em 4px;
+ padding: 2em 4px 1.6em 4px;
font-size: 85%;
overflow: auto;
font-family: var(--b3-font-family-code);
@@ -557,7 +558,7 @@
counter-reset: linenumber;
font-size: 85%;
background-color: var(--b3-theme-surface);
- padding: 1.6em 4px;
+ padding: 2em 4px 1.6em 4px;
box-sizing: border-box;
border-radius: var(--b3-border-radius) 0 0 var(--b3-border-radius);
width: 3.6em;
diff --git a/app/src/assets/scss/protyle/_wysiwyg.scss b/app/src/assets/scss/protyle/_wysiwyg.scss
index 03844accb4..f83466ecdd 100644
--- a/app/src/assets/scss/protyle/_wysiwyg.scss
+++ b/app/src/assets/scss/protyle/_wysiwyg.scss
@@ -556,6 +556,7 @@
.protyle-action__language {
opacity: .86;
+ user-select: none;
}
.protyle-action__copy,
diff --git a/app/src/types/index.d.ts b/app/src/types/index.d.ts
index ddc82d7663..15674285af 100644
--- a/app/src/types/index.d.ts
+++ b/app/src/types/index.d.ts
@@ -218,6 +218,7 @@ interface ICard {
cardID: string
blockID: string
nextDues: IObject
+ state: number // 0:新卡
}
interface ICardData {