Skip to content

Commit

Permalink
chore: cards
Browse files Browse the repository at this point in the history
  • Loading branch information
tuva-odegard committed Aug 23, 2024
1 parent 78c63a6 commit 7d1a893
Showing 1 changed file with 4 additions and 19 deletions.
23 changes: 4 additions & 19 deletions packages/ffe-cards/less/group-card.less
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
.card-background-styling();

border: none;
box-shadow: var(--ffe-v-cards-common-card-box-shadow);
box-shadow: none;

&--no-shadow {
box-shadow: none;
&--shadow {
box-shadow: var(--ffe-v-cards-common-card-box-shadow);
}

& > :first-child {
Expand All @@ -25,27 +25,12 @@
border-radius: var(--ffe-v-cards-common-card-border-radius);
}

&__title {
.ffe-h6();

&__title :where(.ffe-h1, .ffe-h2, .ffe-h3, .ffe-h4, .ffe-h5, .ffe-h6) {
margin-bottom: 0;

.ffe-h1,
.ffe-h2,
.ffe-h3,
.ffe-h4,
.ffe-h5,
.ffe-h6 {
margin-bottom: 0;
}
}

&__element {
padding: var(--ffe-spacing-md);

&:last-child:not(:hover) {
border-bottom-color: transparent;
}
}

&__footer {
Expand Down

0 comments on commit 7d1a893

Please sign in to comment.