From c648e7ae197b5676abe1f4270202886bcfa5904c Mon Sep 17 00:00:00 2001 From: Hermes Agent Date: Sat, 19 Sep 2026 15:05:03 +0200 Subject: [PATCH] ui: full-bleed separator (breaks out of Container's space=medium padding) --- src/ui.tsx | 23 ++++++++++++++++++++--- 1 file changed, 20 insertions(+), 3 deletions(-) diff --git a/src/ui.tsx b/src/ui.tsx index 7fdad91..5e91c96 100644 --- a/src/ui.tsx +++ b/src/ui.tsx @@ -4,7 +4,6 @@ import { Text, Muted, VerticalSpace, - Divider, Stack, Modal, IconButton, @@ -27,6 +26,24 @@ const MIN_WINDOW_SIZE = { width: 320, height: 200 } // Full plugin version shown in the footer status bar. Keep in sync with package.json "version". const PLUGIN_VERSION = '0.1.0' +// Full-bleed separator: breaks out of the Container's horizontal `space="medium"` padding +// (which is `0 var(--space-medium)`) so the line spans the whole window edge-to-edge. +function Separator () { + return ( +
+ ) +} + function Plugin () { const [currentWindowSize, setCurrentWindowSize] = useState(MIN_WINDOW_SIZE) const resizeRef = useRef({ active: false, dir: '', startX: 0, startY: 0, startW: 0, startH: 0, fixedAxis: 'none' as 'none' | 'x' | 'y' }) @@ -342,13 +359,13 @@ function Plugin () { - + {/* Body — semantic
, stretches via flex child of the column */}
{/* empty placeholder for now */}
{/* Footer — status bar */} - +