diff --git a/components/card--primary/card--primary.twig b/components/card--primary/card--primary.twig index b8491e6..58288c9 100644 --- a/components/card--primary/card--primary.twig +++ b/components/card--primary/card--primary.twig @@ -18,7 +18,6 @@ ] %} {% set figure_classes = [ - 'mt-0', 'ubc-card__media', 'img-cover', 'overflow-hidden', @@ -56,6 +55,10 @@ 'sm--flex-row', ] %} + {% set figure_layout_classes = [ + 'mt-0', + ] + %} {% endif %} {% if layout is same as 'ubc-card--horiz-rev' %} {% set layout_classes = [ @@ -63,6 +66,10 @@ 'sm--flex-row-reverse', ] %} + {% set figure_layout_classes = [ + 'mt-0', + ] + %} {% endif %} {% if layout is same as 'ubc-card--horiz' or layout is same as 'ubc-card--horiz-rev' %} {% set figure_layout_classes = [