diff --git a/apps/kimi-web/index.html b/apps/kimi-web/index.html index dff0375e40..27a99e5d4d 100644 --- a/apps/kimi-web/index.html +++ b/apps/kimi-web/index.html @@ -3,7 +3,7 @@
- + diff --git a/apps/kimi-web/src/App.vue b/apps/kimi-web/src/App.vue index 2e6133f3fc..72ddb7663d 100644 --- a/apps/kimi-web/src/App.vue +++ b/apps/kimi-web/src/App.vue @@ -1155,10 +1155,10 @@ function openPr(url: string): void { .auth-page { align-items: flex-start; padding: - max(48px, env(safe-area-inset-top)) - max(20px, env(safe-area-inset-right)) - max(24px, env(safe-area-inset-bottom)) - max(20px, env(safe-area-inset-left)); + max(48px, var(--safe-top)) + max(20px, var(--safe-right)) + max(24px, var(--safe-bottom)) + max(20px, var(--safe-left)); } .auth-page-copy h1 { font-size: 26px; diff --git a/apps/kimi-web/src/components/WarningToasts.vue b/apps/kimi-web/src/components/WarningToasts.vue index a6addba383..ba03f448d4 100644 --- a/apps/kimi-web/src/components/WarningToasts.vue +++ b/apps/kimi-web/src/components/WarningToasts.vue @@ -295,7 +295,9 @@ onUnmounted(() => { .toasts { left: 12px; right: 12px; - bottom: calc(76px + env(safe-area-inset-bottom)); + /* Sit just above the chat dock; --dock-h already includes the dock's own + safe-area padding, so no extra safe-bottom term is needed. */ + bottom: calc(var(--dock-h, 76px) + 8px); width: auto; max-height: 50vh; } diff --git a/apps/kimi-web/src/components/chat/ChatDock.vue b/apps/kimi-web/src/components/chat/ChatDock.vue index 4078c1d144..a4277d999a 100644 --- a/apps/kimi-web/src/components/chat/ChatDock.vue +++ b/apps/kimi-web/src/components/chat/ChatDock.vue @@ -3,7 +3,7 @@ -