From b0a7886fa2eaa270dbaf8403c59b59b5e2a79211 Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 5 Nov 2026 10:59:30 +0000 Subject: [PATCH] Kit: a panel's scrolled end keeps clear space under the last line Co-Authored-By: Claude Sonnet 5.5 Claude-Session: https://claude.ai/code/session_01Tw9fjV2UVj2u3F3mbnYrQW --- app/ui/composer/elements/polish.css | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/ui/composer/elements/polish.css b/app/ui/composer/elements/polish.css index f71b9289..22a0dd93 100644 --- a/app/ui/composer/elements/polish.css +++ b/app/ui/composer/elements/polish.css @@ -22,6 +22,8 @@ body { -webkit-font-smoothing: antialiased; letter-spacing: -.003em; } .cx-panel-title::before { display: none; } .cx-panel-status { color: var(--muted); } .cx-panel-body { padding: var(--sp-7); gap: var(--sp-6); } +/* Scrolled to the end, the last line sits well clear of the panel's edge, whatever the browser does with a scroller's bottom padding. */ +.cx-panel:not(.cx-panel-flush) > .cx-panel-body::after { content: ""; flex: 0 0 var(--sp-6); } /* buttons: soft fill, no outline; the one primary is solid */ .cx-btn { background: var(--elev-2); border-color: transparent; font-weight: var(--fw-medium); }