diff --git a/blocks/card/card.css b/blocks/card/card.css index bcfef93f..6fceab21 100644 --- a/blocks/card/card.css +++ b/blocks/card/card.css @@ -13,6 +13,10 @@ raqn-card a { font-weight: bold; } +raqn-card p > a { + margin-block: 0; +} + raqn-card > picture { grid-column: span var(--card-columns, 1fr); } diff --git a/styles/styles.css b/styles/styles.css index fe366ef5..a339e9d8 100644 --- a/styles/styles.css +++ b/styles/styles.css @@ -137,10 +137,6 @@ a:hover { justify-items: start; } -p > a { - margin-block: 0; -} - picture, img { display: block;