Skip to content

Commit

Permalink
feat(shs-6045): implement vertical buttons card with long text
Browse files Browse the repository at this point in the history
  • Loading branch information
Mari Nez committed Feb 18, 2025
1 parent 7024dee commit b9b8335
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,11 @@
.hb-raised-cards & {
padding: hb-calculate-rems(32px) hb-calculate-rems(36px);
}

// Update padding when card is in 4 columns.
.field-hs-collection-items.item-per-row--4 & {
padding: hb-calculate-rems(18px);
}
}

&:has(.hb-card__graphics) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@
}
}

// Update padding when card is in 4 columns.
// Update padding when vertical card is in 4 columns.
.hb-raised-cards .field-hs-collection-items.item-per-row--4 .hb-card .hb-card__content {
@include hb-colorful {
padding: hb-calculate-rems(18px);
Expand Down

0 comments on commit b9b8335

Please sign in to comment.