Skip to content

Commit ea76203

Browse files
committed
fix: scope sidebar button margin to primary website button
The .event-detail-sidebar__card wa-button rule was leaking onto the supplementary link buttons, doubling their spacing on top of the gap and top border on the surrounding list.
1 parent 22421e0 commit ea76203

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/pages/events/[slug].astro

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -385,6 +385,7 @@ const jsonLd = {
385385
variant="neutral"
386386
appearance="accent"
387387
style="width: 100%;"
388+
class="event-detail-sidebar__website-button"
388389
>
389390
Event website
390391
<span class="sr-only"> (opens external site)</span>
@@ -622,7 +623,7 @@ const jsonLd = {
622623
font-size: var(--p-step--1);
623624
}
624625

625-
.event-detail-sidebar__card wa-button {
626+
.event-detail-sidebar__website-button {
626627
margin-top: var(--p-space-xs);
627628
}
628629

0 commit comments

Comments
 (0)