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: Refine the mobile bottom bar layout https://github.com/siyuan-note/siyuan/issues/18912
Daniel4d221b33af14
diff --git a/app/src/assets/scss/main/_mobile.scss b/app/src/assets/scss/main/_mobile.scssindex 24505762ea..b3eda18b27 100644--- a/app/src/assets/scss/main/_mobile.scss+++ b/app/src/assets/scss/main/_mobile.scss@@ -6,7 +6,7 @@ body {--mobile-bottom-bar-height: 48px;--mobile-bottom-bar-gap: 8px;--mobile-status-height: 24px;- --mobile-bottom-bar-safe-area: max(8px, env(safe-area-inset-bottom));+ --mobile-bottom-bar-safe-area: env(safe-area-inset-bottom);--mobile-bottom-bar-bottom: calc(var(--mobile-status-height) + var(--mobile-bottom-bar-gap) + var(--mobile-bottom-bar-safe-area));--mobile-bottom-bar-offset: calc(var(--mobile-bottom-bar-height) + var(--mobile-bottom-bar-bottom));}@@ -441,7 +441,6 @@ body.mobile-keyboard--open {#editor {box-sizing: border-box;- padding-bottom: var(--mobile-bottom-bar-offset);transition: transform 240ms cubic-bezier(.2, 0, 0, 1);}@@ -1208,13 +1207,13 @@ body.mobile-keyboard--open {.status {position: fixed;- bottom: -30px;- height: var(--mobile-status-height);+ bottom: calc(0px - var(--mobile-status-height) - var(--mobile-bottom-bar-safe-area));+ height: calc(var(--mobile-status-height) + var(--mobile-bottom-bar-safe-area));line-height: 16px;transition: var(--b3-transition);font-size: 12px;color: var(--b3-theme-on-surface);- padding: 4px;+ padding: 4px 4px calc(4px + var(--mobile-bottom-bar-safe-area));white-space: nowrap;width: 100%;box-sizing: border-box;diff --git a/app/src/mobile/util/onMessage.ts b/app/src/mobile/util/onMessage.tsindex b9b00f4343..04e559203d 100644--- a/app/src/mobile/util/onMessage.ts+++ b/app/src/mobile/util/onMessage.ts@@ -44,7 +44,7 @@ export const onMessage = (app: App, data: IWebSocketData) => {} else {clearTimeout(statusTimeout);statusElement.innerHTML = `<div class="fn__flex">${data.data.tasks[0].action}<div class="fn__progress"><div></div></div>`;- statusElement.style.bottom = "var(--mobile-bottom-bar-safe-area)";+ statusElement.style.bottom = "0";}break;case "setAppearance":