From 7ad07b389331c0a29d988a4ea88da004183a47d4 Mon Sep 17 00:00:00 2001 From: Valentin Haudiquet Date: Mon, 30 Nov 2026 00:21:10 +0100 Subject: [PATCH] fix(web/claw): stop settings cards clipping their last row The settings pages stack cards in a scrolling flex column. The cards kept the default flex-shrink, so a viewport shorter than the content compressed each card to the viewport and `overflow: hidden` cut off its bottom. On Bootstrap that was the byte count and the Save button, and a 1280x800 window showed no way to save SOUL.md or USER.md. Cards now keep their content height; the column scrolls instead. Checked at 1280x800: Save appears under SOUL.md and USER.md, and the input enables it. nuxt typecheck and build pass. --- web/claw/app/assets/css/main.css | 3 +++ 1 file changed, 3 insertions(+) diff --git a/web/claw/app/assets/css/main.css b/web/claw/app/assets/css/main.css index 65170c9..377fc74 100644 --- a/web/claw/app/assets/css/main.css +++ b/web/claw/app/assets/css/main.css @@ -151,6 +151,9 @@ textarea::placeholder { border: 1px solid var(--border); border-radius: 10px; overflow: hidden; + /* A card holds its content. Inside the settings pages' scrolling + column, the default flex shrink would clip the last row instead. */ + flex-shrink: 0; } .card > .card-head {