Skip to content

Commit 1434af0

Browse files
authored
Fix rotated guestbook cards from being clipped by carousel (#693)
1 parent 5d9fce8 commit 1434af0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/components/Carousel.astro

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,9 @@ const { spacing = "normal" } = Astro.props;
1616
display: flex;
1717
gap: var(--space-l);
1818
padding-inline: var(--space-xl);
19-
padding-block: var(--space-2xs) var(--space-l);
19+
padding-block: var(--space-l);
2020
margin: 0;
21+
margin-block-start: calc(var(--space-m) * -1);
2122
overflow-x: auto;
2223
scroll-snap-type: x mandatory;
2324
scroll-padding: var(--space-xl);

0 commit comments

Comments
 (0)