diff --git a/packages/astro/src/runtime/client/dev-overlay/plugins/utils/highlight.ts b/packages/astro/src/runtime/client/dev-overlay/plugins/utils/highlight.ts index f7defec1f2e9..726905b71d4b 100644 --- a/packages/astro/src/runtime/client/dev-overlay/plugins/utils/highlight.ts +++ b/packages/astro/src/runtime/client/dev-overlay/plugins/utils/highlight.ts @@ -66,8 +66,8 @@ export function attachTooltipToHighlight( } if (dialogRect.right > document.documentElement.clientWidth) { // Not enough space on the right, align to the right - tooltip.style.right = '0px'; - } + tooltip.style.right = '0px'; + } }); });