From 28d41727e8ef0bea775e8fc710f657bf6d02e95c Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Tue, 30 Jun 2026 16:14:00 -0700 Subject: [PATCH] Docs: format ResizableExample.astro with Prettier --- site/src/components/shortcodes/ResizableExample.astro | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/site/src/components/shortcodes/ResizableExample.astro b/site/src/components/shortcodes/ResizableExample.astro index 475f7d8891..cf91957ac4 100644 --- a/site/src/components/shortcodes/ResizableExample.astro +++ b/site/src/components/shortcodes/ResizableExample.astro @@ -76,11 +76,7 @@ const simplifiedMarkup = markup.replace( style={`width: ${initialWidth}; min-width: ${minWidth};`} > - { - showBreakpoint && ( - - ) - } + {showBreakpoint && } {showMarkup && } @@ -112,8 +108,7 @@ const simplifiedMarkup = markup.replace( // Measure the actual query container (e.g. `.grid`) when present so the badge // matches what `@container` evaluates; otherwise fall back to the container. - const target = - container.querySelector(':scope > *:not(.bd-resizable-badge)') ?? container + const target = container.querySelector(':scope > *:not(.bd-resizable-badge)') ?? container const update = (width: number) => { const bp = activeBreakpoint(width) -- 2.47.3