From: Mark Otto Date: Tue, 30 Jun 2026 23:14:00 +0000 (-0700) Subject: Docs: format ResizableExample.astro with Prettier X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=28d41727e8ef0bea775e8fc710f657bf6d02e95c;p=thirdparty%2Fbootstrap.git Docs: format ResizableExample.astro with Prettier --- 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)