summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/astro/src/runtime/client/dev-overlay/plugins/utils/highlight.ts4
1 files changed, 2 insertions, 2 deletions
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 f7defec1f..726905b71 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';
+ }
});
});