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: Align remote connection switches with their labels https://github.com/siyuan-note/siyuan/issues/19204
Daniela59e1da4ce71
diff --git a/app/src/dialog/remoteConnection.ts b/app/src/dialog/remoteConnection.tsindex a521339813..5df0ae2d04 100644--- a/app/src/dialog/remoteConnection.ts+++ b/app/src/dialog/remoteConnection.ts@@ -28,7 +28,7 @@ export const openRemoteConnection = (initialOrigin = "") => {<div class="fn__hr"></div><div class="ft__on-surface">${escapeHtml(languages.remoteKernelAddressTip)}</div><div class="fn__hr"></div>- <label class="fn__flex"><input data-field="trust" type="checkbox" class="b3-switch"><span class="fn__space"></span>${escapeHtml(languages.trustRemoteExtensions)}</label>+ <label class="fn__flex" style="align-items:center"><input data-field="trust" type="checkbox" class="b3-switch"><span class="fn__space"></span>${escapeHtml(languages.trustRemoteExtensions)}</label><div class="fn__hr"></div><div class="ft__on-surface">${escapeHtml(languages.trustRemoteExtensionsTip)}</div><div data-field="auth" class="fn__none">@@ -43,7 +43,7 @@ export const openRemoteConnection = (initialOrigin = "") => {</div></div><div class="fn__hr"></div>- <label class="fn__flex"><input data-field="rememberMe" type="checkbox" class="b3-switch"><span class="fn__space"></span><span data-field="rememberLabel"></span></label>+ <label class="fn__flex" style="align-items:center"><input data-field="rememberMe" type="checkbox" class="b3-switch"><span class="fn__space"></span><span data-field="rememberLabel"></span></label></div><button type="submit" class="fn__none" tabindex="-1"></button></form>@@ -137,6 +137,7 @@ export const openRemoteConnection = (initialOrigin = "") => {});const trustLabel = document.createElement("label");trustLabel.className = "fn__flex";+ trustLabel.style.alignItems = "center";trustLabel.title = languages.trustRemoteExtensionsTip;const trustEntry = document.createElement("input");trustEntry.type = "checkbox";