Skip to content

Commit 6b8e329

Browse files
committed
[Docs site] update arrow style in ListCard component
1 parent 79be5b8 commit 6b8e329

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/components/astro/ListCard.astro

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,14 +36,13 @@ export type Props = Parameters<typeof Card>[0];
3636
.link-list :global(a::after) {
3737
content: "";
3838
background-color: currentColor;
39-
width: 1rem;
39+
min-width: 1rem;
4040
height: 1rem;
4141
shrink: 0;
4242
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");
4343
-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");
44-
mask-size: 100%;
45-
-webkit-mask-size: 100%;
4644
}
45+
4746
/* Mirror arrow in RTL layouts */
4847
:global([dir="rtl"])
4948
.link-list

0 commit comments

Comments
 (0)