Skip to content

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

:art: Align database attributes header https://github.com/siyuan-note/siyuan/issues/11371

Daniel30e2e49de7f4
diff --git a/app/src/assets/scss/business/_custom.scss b/app/src/assets/scss/business/_custom.scss
index b94dc184c3..9125e675e0 100644
--- a/app/src/assets/scss/business/_custom.scss
+++ b/app/src/assets/scss/business/_custom.scss
@@ -254,18 +254,12 @@
transition: var(--b3-background-transition);
width: 100%;
- &:hover {
- background-color: var(--b3-theme-surface-light);
- }
-
& > .block__icon:first-child {
- margin-left: -4px;
+ margin-left: -8px;
}
.block__logo {
margin-left: 4px;
- min-height: 34px;
- font-weight: 500;
}
}
diff --git a/app/src/protyle/render/av/attributePanel.ts b/app/src/protyle/render/av/attributePanel.ts
index 9dd98dc7a2..c78699c09f 100644
--- a/app/src/protyle/render/av/attributePanel.ts
+++ b/app/src/protyle/render/av/attributePanel.ts
@@ -20,7 +20,7 @@ export class AVAttributePanel {
this.element.className = "protyle-db-attr fn__none";
this.element.innerHTML = `<button type="button" class="protyle-db-attr__header fn__flex" data-type="toggle" aria-expanded="${!this.collapsed}" aria-label="${window.siyuan.languages.database}">
<span class="block__icon block__icon--show fn__flex-center"><svg><use xlink:href="#iconRight"></use></svg></span>
- <span class="block__logo fn__flex-1"><span>${window.siyuan.languages.database}</span></span>
+ <span class="block__logo fn__flex-1">${window.siyuan.languages.database}</span>
</button>`;
this.bodyElement = document.createElement("div");
this.bodyElement.className = "custom-attr protyle-db-attr__body";