Skip to content

Commit

Permalink
remove just the child selector, because if we section are nested insi…
Browse files Browse the repository at this point in the history
…de the card, this will no longer work
  • Loading branch information
nicosammito committed Mar 4, 2024
1 parent 7df8e36 commit f0a8cde
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/card/Card.style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

.card {
padding: .5rem;
position: relative;
overflow: hidden;

> * {

* {

&.card__section > img {
border-radius: .5rem;
Expand Down

0 comments on commit f0a8cde

Please sign in to comment.