diff --git a/src/components/astro/ListCard.astro b/src/components/astro/ListCard.astro index ac4344518bdf2c..5c8b8cd197b6f5 100644 --- a/src/components/astro/ListCard.astro +++ b/src/components/astro/ListCard.astro @@ -36,14 +36,13 @@ export type Props = Parameters[0]; .link-list :global(a::after) { content: ""; background-color: currentColor; - width: 1rem; + min-width: 1rem; height: 1rem; shrink: 0; mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M17.92 11.62a1.001 1.001 0 0 0-.21-.33l-5-5a1.003 1.003 0 1 0-1.42 1.42l3.3 3.29H7a1 1 0 0 0 0 2h7.59l-3.3 3.29a1.002 1.002 0 0 0 .325 1.639 1 1 0 0 0 1.095-.219l5-5a1 1 0 0 0 .21-.33 1 1 0 0 0 0-.76Z'%3E%3C/path%3E%3C/svg%3E"); -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M17.92 11.62a1.001 1.001 0 0 0-.21-.33l-5-5a1.003 1.003 0 1 0-1.42 1.42l3.3 3.29H7a1 1 0 0 0 0 2h7.59l-3.3 3.29a1.002 1.002 0 0 0 .325 1.639 1 1 0 0 0 1.095-.219l5-5a1 1 0 0 0 .21-.33 1 1 0 0 0 0-.76Z'%3E%3C/path%3E%3C/svg%3E"); - mask-size: 100%; - -webkit-mask-size: 100%; } + /* Mirror arrow in RTL layouts */ :global([dir="rtl"]) .link-list