From ff98038d3f9c064d64ae8b1f9910277f0b263036 Mon Sep 17 00:00:00 2001 From: Aejkatappaja Date: Thu, 23 Apr 2026 23:08:46 +0200 Subject: [PATCH] fix(ui): Preloads overflow clipping and CodeBreak button placement - Preloads panel: outer overflow-hidden clipped stat cards and prevented scroll when content exceeded the panel height. Switched to overflow-auto with min-h-full on the column stack so content scrolls on narrow or short panels. - CodeBreak StateParser: content container was missing the `flex` class, so the textarea pushed the Parse State button outside the card into the next grid row, overlapping the Parsed State header. Moved the button into the card header next to the title. --- .changeset/fix-ui-layout-polish.md | 8 +++++ .../ui/src/features/CodeBreak/StateParser.tsx | 34 +++++++++---------- .../ui/src/features/Preloads/Preloads.tsx | 4 +-- 3 files changed, 27 insertions(+), 19 deletions(-) create mode 100644 .changeset/fix-ui-layout-polish.md diff --git a/.changeset/fix-ui-layout-polish.md b/.changeset/fix-ui-layout-polish.md new file mode 100644 index 0000000..f49bcf4 --- /dev/null +++ b/.changeset/fix-ui-layout-polish.md @@ -0,0 +1,8 @@ +--- +'@qwik.dev/devtools': patch +--- + +fix(ui): Preloads overflow clipping and CodeBreak button placement + +- Preloads panel: outer `overflow-hidden` clipped stat cards and prevented scroll when content exceeded the panel height. Switched to `overflow-auto` with `min-h-full` on the column stack so content scrolls on narrow or short panels. +- CodeBreak StateParser: content container was missing the `flex` class, so the textarea pushed the `Parse State` button outside the card into the next grid row, overlapping the `Parsed State` header. Moved the button into the card header next to the title — robust across panel widths and cleaner UX. diff --git a/packages/ui/src/features/CodeBreak/StateParser.tsx b/packages/ui/src/features/CodeBreak/StateParser.tsx index 949ff31..4f9b00b 100644 --- a/packages/ui/src/features/CodeBreak/StateParser.tsx +++ b/packages/ui/src/features/CodeBreak/StateParser.tsx @@ -117,31 +117,31 @@ export const StateParser = component$(() => { return (
-
-
Input State
- {parsingTime.value !== null && ( - - {parsingTime.value}ms - - )} +
+
+
Input State
+ {parsingTime.value !== null && ( + + {parsingTime.value}ms + + )} +
+
-
+