Skip to content

Commit

Permalink
SWED-2275 fix grid style cards icon title wide
Browse files Browse the repository at this point in the history
  • Loading branch information
goldenraphti committed Mar 13, 2024
1 parent 8cda1cb commit 69c5655
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/less/components/card.less
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,17 @@
}
}

&:not(:has(> img:first-child)):not(:has(.cards-content)) {
grid-template-areas: "icon title cta";
grid-template-columns: auto 1fr min-content;
grid-template-rows: auto;
padding: var(--padding-outer);

& :is(.cards-icon, .h4, .cards-cta) {
padding: 0;
}
}

&:not(:has(> img:first-child)):not(:has(.cards-icon)):not(
:has(.cards-content)
) {
Expand Down

0 comments on commit 69c5655

Please sign in to comment.