diff --git a/src/components/card/_card.scss b/src/components/card/_card.scss index eafbf0966d..c5acdf2d26 100644 --- a/src/components/card/_card.scss +++ b/src/components/card/_card.scss @@ -7,11 +7,11 @@ flex-direction: column; margin-bottom: 1rem; width: fit-content; - } - &__remove--margin { - margin-bottom: 0; - } + & > .ons-card__title { + margin-bottom: 0; + } + } &__image--reorder { order: 1; diff --git a/src/components/card/_macro.njk b/src/components/card/_macro.njk index 42516328a8..e962d3b15b 100644 --- a/src/components/card/_macro.njk +++ b/src/components/card/_macro.njk @@ -6,36 +6,23 @@
{{ params.text }}
{% if params.itemsList -%}