fix: cap composer shell height to prevent excessive expansion

- Add max-height: min(420px, calc(100vh - 180px)) to .composer-shell
- Prevents composer from dominating viewport when many files are staged
- Complements existing .staged-row max-height (148px/22vh) and textarea max-height (184px/34vh)
- On desktop, composer won't exceed ~420px; on smaller viewports, scales down proportionally

Fixes #3155
This commit is contained in:
xxiaoxiong 2026-05-28 23:02:38 +08:00
parent a4ec7808a6
commit 18cd2b8823

View file

@ -480,6 +480,7 @@
display: flex;
flex-direction: column;
gap: 6px;
max-height: min(420px, calc(100vh - 180px));
transition: border-color 120ms ease, box-shadow 120ms ease;
}
.composer-shell:focus-within {