Skip to content

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

:art: Align Chinese marketplace feedback text with icons https://github.com/siyuan-note/siyuan/issues/20116

Daniel970343e159ea
diff --git a/app/src/assets/scss/business/_config.scss b/app/src/assets/scss/business/_config.scss
index 6186b9b855..d6ca23ae5f 100644
--- a/app/src/assets/scss/business/_config.scss
+++ b/app/src/assets/scss/business/_config.scss
@@ -1222,6 +1222,11 @@
&__resource {
gap: 4px;
+ &-feedback:lang(zh) {
+ // 中文与西文混排时,按字号微调反馈文字的视觉中心。
+ transform: translateY(-0.08em);
+ }
+
&-list {
gap: 8px 16px;
}
diff --git a/app/src/config/bazaar.ts b/app/src/config/bazaar.ts
index 5da8cad97e..7241d8f258 100644
--- a/app/src/config/bazaar.ts
+++ b/app/src/config/bazaar.ts
@@ -1143,7 +1143,7 @@ type="checkbox">
${resourceStats}
<span class="item__resource fn__flex">
<svg class="svg ft__on-surface" aria-hidden="true"><use xlink:href="#iconGitHubI"></use></svg>
- <a href="${escapeAttr(resourceData.repoURL)}/issues" target="_blank" title="${escapeAttr(window.siyuan.languages.bazaarFeedbackTip)}" data-type="feedback">${window.siyuan.languages.feedback}${available ? ` (${formatCount(resourceData.openIssues)})` : ""}</a>
+ <a class="item__resource-feedback" href="${escapeAttr(resourceData.repoURL)}/issues" target="_blank" title="${escapeAttr(window.siyuan.languages.bazaarFeedbackTip)}" data-type="feedback">${window.siyuan.languages.feedback}${available ? ` (${formatCount(resourceData.openIssues)})` : ""}</a>
</span>
</div>
</section>