web: keep mobile composition stable across keyboard and Back navigation
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user