Skip to content

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

:bug: Keep tab titles aligned at large editor font sizes https://github.com/siyuan-note/siyuan/issues/19784

Danielb0de1c8d1e4f
diff --git a/app/src/assets/scss/protyle/_tabs.scss b/app/src/assets/scss/protyle/_tabs.scss
index 3b8915fafd..6f5ec4d964 100644
--- a/app/src/assets/scss/protyle/_tabs.scss
+++ b/app/src/assets/scss/protyle/_tabs.scss
@@ -31,7 +31,7 @@
align-items: center;
min-width: 0;
gap: 4px;
- font-size: 87.5%;
+ font-size: min(87.5%, 16px);
border-bottom: 1px solid var(--b3-theme-background-light);
padding: 0 4px;
user-select: none;
@@ -208,7 +208,7 @@
border-radius: var(--b3-border-radius);
background: transparent;
color: var(--b3-theme-on-background);
- font-size: 87.5%;
+ font-size: min(87.5%, 16px);
line-height: 22px;
user-select: text;