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
+18
View File
@@ -79,6 +79,24 @@ textarea {
a { color: var(--color-accent); }
/* Application controls should not accidentally select their labels on a long
press; message, report and code content must remain selectable. */
button, [role="tab"] { -webkit-user-select: none; user-select: none; touch-action: manipulation; }
@media (any-pointer: coarse) {
button, input, select { min-height: 48px; }
button { -webkit-tap-highlight-color: transparent; }
button:active { background-color: var(--color-elevated-2); }
}
/* At 16px Safari need not zoom the page merely to focus an editable field. */
@media (max-width: 599px) {
input[type="text"], input[type="search"], input[type="password"], select, textarea,
.chat-composer-input, .chat-toolbar .chat-search, .chat-create-instructions-input {
font-size: 16px;
}
}
.list {
min-width: 0;
min-height: 0;