diff --git a/.changeset/rare-singers-try.md b/.changeset/rare-singers-try.md new file mode 100644 index 0000000000..bdf10afbbc --- /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 062d683715..b545247523 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 {