web: center multiline composer controls
This commit is contained in:
+4
-3
@@ -89,9 +89,10 @@ restoration. No deployed service, live workflow or device was used.
|
||||
|
||||
### Chat audit follow-up (2026-10-20, partial — fresh UI captures pending)
|
||||
|
||||
Composer fit follow-up (2026-10-20): aligned attachment, Send and
|
||||
Stop controls (44px square; 48px with a coarse pointer), a matching single-line
|
||||
input, and six complete auto-grown text lines before scrolling. Send remains
|
||||
Composer fit and vertical alignment follow-up (2026-10-20): attachment, Send and
|
||||
Stop controls (44px square; 48px with a coarse pointer) are vertically centered
|
||||
on the textarea, including multiline drafts. The single-line input matches their
|
||||
height, and six complete auto-grown text lines fit before scrolling. Send remains
|
||||
available while running; its adjacent Stop slot is reserved even while idle so
|
||||
state changes do not rewrap a draft. Monochrome CSS SVG masks replace the
|
||||
platform-dependent button glyph rendering, preserving existing accessible names.
|
||||
|
||||
+1
-1
@@ -926,7 +926,7 @@
|
||||
.chat-command-notice-actions { display: flex; gap: 8px; }
|
||||
.chat-command-notice-actions button { padding: 3px 10px; font-size: 12px; }
|
||||
|
||||
.chat-composer-row { display: flex; gap: 8px; align-items: flex-end; min-width: 0; }
|
||||
.chat-composer-row { display: flex; gap: 8px; align-items: center; min-width: 0; }
|
||||
.chat-file-input { display: none; }
|
||||
.chat-attach { color: var(--muted); }
|
||||
.chat-composer-input {
|
||||
|
||||
@@ -58,7 +58,9 @@ try {
|
||||
assert.ok(m.documentWidth<=m.viewport,`${name}: document overflow`);
|
||||
for(const b of [m.attach,m.send,m.stop].filter(Boolean)) {
|
||||
assert.ok(b.width>=44 && b.height>=44,`${name}: touch target`);
|
||||
assert.equal(b.bottom,m.input.bottom,`${name}: bottom alignment`);
|
||||
const controlCenter=b.y+b.height/2;
|
||||
const inputCenter=m.input.y+m.input.height/2;
|
||||
assert.ok(Math.abs(controlCenter-inputCenter)<=1,`${name}: vertical center alignment`);
|
||||
}
|
||||
assert.equal(m.send.width,m.attach.width);
|
||||
assert.ok(m.input.right+8<=m.send.x,`${name}: input/action overlap`);
|
||||
|
||||
Reference in New Issue
Block a user