web: keep mobile composition stable across keyboard and Back navigation

This commit is contained in:
2026-10-20 16:04:09 +01:00
parent 90cd43bdd7
commit 1d9cb80cdb
9 changed files with 193 additions and 10 deletions
+22
View File
@@ -642,6 +642,28 @@ button.back-button:hover { background: var(--color-elevated); }
toolbar until it hides, leaving only the status row on screen. */
body,
.app-root { height: 100svh; }
.workspace {
padding-top: env(safe-area-inset-top, 0px);
padding-left: env(safe-area-inset-left, 0px);
padding-right: env(safe-area-inset-right, 0px);
}
.keyboard-open body,
.keyboard-open .app-root { height: var(--keyboard-visible-height, 100svh); }
.keyboard-open .app-root { position: relative; top: var(--keyboard-viewport-top, 0px); }
.keyboard-open .destination-dock { display: none; }
.keyboard-open .confirm-dialog,
.keyboard-open .action-failed,
.keyboard-open .chat-tools-viewer {
top: var(--keyboard-viewport-top, 0px);
bottom: auto;
height: var(--keyboard-visible-height);
padding: 12px;
}
.keyboard-open .confirm-panel,
.keyboard-open .chat-tools-modal-panel {
max-height: calc(var(--keyboard-visible-height) - 24px);
overflow-y: auto;
}
#listCollapse { display: none; }
.dock-item,
.dock-search { width: auto; min-width: 0; }