diff --git a/packages/ffe-cards/less/group-card.less b/packages/ffe-cards/less/group-card.less index 91761fd7f0..089fd0366a 100644 --- a/packages/ffe-cards/less/group-card.less +++ b/packages/ffe-cards/less/group-card.less @@ -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 { @@ -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 {