Skip to content

Commit

Permalink
adjust selector precedence
Browse files Browse the repository at this point in the history
  • Loading branch information
rrusher committed Nov 7, 2023
1 parent f5e85ae commit dc6e781
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions blocks/cards/cards.css
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,11 @@
letter-spacing: var(--letter-spacing-xs);
}

.cards.block.shade-icon .cards-list .cards-item .card-body p {
text-align: center;
margin-bottom: 10px;
}

.section.grey-background .cards.block .cards-list .cards-item .card-image p {
background-color: var(--light-grey);
}
Expand All @@ -149,11 +154,6 @@
padding: 8px 0 20px;
}

.cards.block.shade-icon .cards-list .cards-item .card-body p {
text-align: center;
margin-bottom: 10px;
}

.cards.block.shade-icon .cards-list .cards-item .card-body .icon img {
margin: 0 auto;
display: block;
Expand Down

0 comments on commit dc6e781

Please sign in to comment.