Skip to content

Commit

Permalink
[Complementary product] Keep text alignment to the left for horizonta…
Browse files Browse the repository at this point in the history
…l cards (#1965)

* Keep text alignment to the left for horizontal cards

* prevent image padding from global product cards settings to apply
  • Loading branch information
ludoboludo authored Sep 14, 2022
1 parent fbfe88e commit abd203b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions assets/component-card.css
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
}

.card.card--horizontal {
--text-alignment: left;
--image-padding: 0rem;
flex-direction: row;
align-items: flex-start;
gap: 1.5rem;
Expand Down

0 comments on commit abd203b

Please sign in to comment.