Chat: the composer's textarea hides its scrollbar
The auto-growing field capped at 180px showed the browser scrollbar once long text overflowed it - over the Aero glass it read as a broken widget, not a scroll affordance. The field now carries the app's existing no-scrollbar style: the bar is gone in all three themes, the text still scrolls by wheel (overflow stays auto), and the caret line stays on screen. Friend's scene-heat rework (0.6.7) is merged unchanged; this is additive. All 15 suites green, contrast scan clean.
This commit is contained in:
parent
9ed886372d
commit
977ddec8e2
1 changed files with 1 additions and 1 deletions
|
|
@ -132,7 +132,7 @@ export function Composer({
|
||||||
rows={1}
|
rows={1}
|
||||||
placeholder={t("chat.placeholder")}
|
placeholder={t("chat.placeholder")}
|
||||||
aria-label={t("chat.placeholder")}
|
aria-label={t("chat.placeholder")}
|
||||||
className="max-h-[180px] min-h-[44px] min-w-0 flex-1 resize-none rounded-[var(--radius-control)] border border-[var(--glass-border)] bg-[var(--surface-strong)] px-3.5 py-2.5 text-[16px] leading-relaxed text-[var(--text)] outline-none transition-[height,border-color] duration-150 ease-out placeholder:text-[var(--text-subtle)] focus:border-accent-400/60 motion-reduce:transition-none"
|
className="no-scrollbar max-h-[180px] min-h-[44px] min-w-0 flex-1 resize-none rounded-[var(--radius-control)] border border-[var(--glass-border)] bg-[var(--surface-strong)] px-3.5 py-2.5 text-[16px] leading-relaxed text-[var(--text)] outline-none transition-[height,border-color] duration-150 ease-out placeholder:text-[var(--text-subtle)] focus:border-accent-400/60 motion-reduce:transition-none"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
{busy ? (
|
{busy ? (
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue