summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.changeset/rare-singers-try.md5
-rw-r--r--packages/astro/src/runtime/client/dev-toolbar/ui-library/tooltip.ts2
2 files changed, 6 insertions, 1 deletions
diff --git a/.changeset/rare-singers-try.md b/.changeset/rare-singers-try.md
new file mode 100644
index 000000000..bdf10afbb
--- /dev/null
+++ b/.changeset/rare-singers-try.md
@@ -0,0 +1,5 @@
+---
+'astro': patch
+---
+
+Fixes svg icon margin in devtool tooltip title to look coherent in `rtl` and `ltr` layouts
diff --git a/packages/astro/src/runtime/client/dev-toolbar/ui-library/tooltip.ts b/packages/astro/src/runtime/client/dev-toolbar/ui-library/tooltip.ts
index 062d68371..b54524752 100644
--- a/packages/astro/src/runtime/client/dev-toolbar/ui-library/tooltip.ts
+++ b/packages/astro/src/runtime/client/dev-toolbar/ui-library/tooltip.ts
@@ -45,7 +45,7 @@ export class DevToolbarTooltip extends HTMLElement {
svg {
vertical-align: bottom;
- margin-right: 4px;
+ margin-inline-end: 4px;
}
hr {