An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:art: Improve account settings profile styling
Danielc9993777bd80
diff --git a/app/src/assets/scss/business/_config.scss b/app/src/assets/scss/business/_config.scssindex c43b0483d2..155452a2b8 100644--- a/app/src/assets/scss/business/_config.scss+++ b/app/src/assets/scss/business/_config.scss@@ -206,6 +206,10 @@align-items: center;}+ &-account__payment-remaining {+ margin-right: 8px;+ }+&-account__profile {align-items: center;min-width: 0;@@ -256,7 +260,7 @@height: 48px;width: 48px;flex-shrink: 0;- border-radius: 50%;+ border-radius: var(--b3-border-radius);background-size: cover;background-position: center;background-repeat: no-repeat;diff --git a/app/src/config/tabs/accountUi.ts b/app/src/config/tabs/accountUi.tsindex 8c70c3f31c..af63194c68 100644--- a/app/src/config/tabs/accountUi.ts+++ b/app/src/config/tabs/accountUi.ts@@ -299,7 +299,7 @@ const genAccountPaymentHTML = () => {const actionsHtmlParts: string[] = [];const daysLeft = Math.max(0, Math.floor((expireTime - Date.now()) / (24 * 60 * 60 * 1000)));// 剩余天数- actionsHtmlParts.push(`<div class="ft__on-surface">${window.siyuan.languages.account6} ${daysLeft} ${window.siyuan.languages.day}</div><span class="fn__space"></span>`);+ actionsHtmlParts.push(`<div class="ft__on-surface config-account__payment-remaining">${window.siyuan.languages.account6} ${daysLeft} ${window.siyuan.languages.day}</div><span class="fn__space"></span>`);// 续费订阅actionsHtmlParts.push(isIOS? `<button type="button" class="b3-button b3-button--text" data-action="iOSPay" data-type="subscribe">${window.siyuan.languages.clickMeToRenew}</button>`@@ -307,10 +307,10 @@ const genAccountPaymentHTML = () => {);if (!isOnetimePaid) {// 购买功能特性- actionsHtmlParts.push(isIOS+ const onepayAction = isIOS? `<button type="button" class="b3-button b3-button--text" data-action="iOSPay" data-type="function">${window.siyuan.languages.onepay}</button>`- : `<a class="b3-button b3-button--text" href="${getIndexURL("pricing.html")}" target="_blank">${window.siyuan.languages.onepay}</a>`- );+ : `<a class="b3-button b3-button--text" href="${getIndexURL("pricing.html")}" target="_blank">${window.siyuan.languages.onepay}</a>`;+ actionsHtmlParts.push(`<span class="fn__space"></span>${onepayAction}`);}actionsHTML = actionsHtmlParts.join("");} else if (window.siyuan.user.userSiYuanSubscriptionStatus === 2) {