web: keep mobile composition stable across keyboard and Back navigation
This commit is contained in:
+17
-3
@@ -1012,10 +1012,11 @@
|
||||
box-shadow: none;
|
||||
background: transparent;
|
||||
}
|
||||
.chat-tools-modal-panel .chat-tool-list { overflow: auto; }
|
||||
.chat-tools-modal-panel .chat-tool-list { overflow: auto; overscroll-behavior: contain; }
|
||||
.chat-reasoning-modal-body {
|
||||
min-height: 0;
|
||||
overflow: auto;
|
||||
overscroll-behavior: contain;
|
||||
padding: 12px;
|
||||
white-space: pre-wrap;
|
||||
overflow-wrap: anywhere;
|
||||
@@ -1024,6 +1025,10 @@
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
@media (max-width: 599px) {
|
||||
.chat-composer-input, .chat-toolbar .chat-search, .chat-create-instructions-input { font-size: 16px; }
|
||||
}
|
||||
|
||||
/* Code in agent replies keeps the terminal's colour grammar: comments muted,
|
||||
strings green, numbers amber, keywords blue, literals pink. */
|
||||
.tok-comment { color: var(--color-muted); font-style: italic; }
|
||||
@@ -1105,7 +1110,7 @@
|
||||
/* ---- Phone comfort ------------------------------------------------------ */
|
||||
@media (max-width: 599px) {
|
||||
.chat-toolbar { padding: 10px 12px; }
|
||||
.chat-toolbar .chat-search { min-height: 44px; font-size: 15px; }
|
||||
.chat-toolbar .chat-search { min-height: 44px; font-size: 16px; }
|
||||
.chat-new { min-height: 44px; padding: 0 14px; }
|
||||
.chat-new-label { font-size: 14px; }
|
||||
.chat-group-header,
|
||||
@@ -1137,7 +1142,7 @@
|
||||
.chat-send,
|
||||
.chat-stop { min-width: 44px; min-height: 44px; font-size: 18px; }
|
||||
.chat-attach { min-width: 44px; min-height: 44px; }
|
||||
.chat-composer-input { padding: 10px 12px; font-size: 15px; }
|
||||
.chat-composer-input { padding: 10px 12px; font-size: 16px; }
|
||||
.chat-turn { font-size: 15px; }
|
||||
}
|
||||
|
||||
@@ -1182,3 +1187,12 @@
|
||||
color: var(--muted);
|
||||
font-weight: var(--weight-regular);
|
||||
}
|
||||
|
||||
/* Input capability, not just screen width, selects touch-sized controls. */
|
||||
@media (any-pointer: coarse) {
|
||||
.chat-reasoning-toggle, .chat-tool-chip, .chat-group-toggle,
|
||||
.chat-send, .chat-stop, .chat-attach, .chat-model-button, .chat-model-option,
|
||||
.chat-new { min-height: 48px; }
|
||||
.chat-row .chat-star, .chat-row .chat-menu-button { width: 48px; height: 48px; }
|
||||
.chat-row .row-head { padding-right: 54px; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user