openeuropa / oe_bootstrap_theme

Bootstrap-based theme
European Union Public License 1.2
6 stars 12 forks source link

Card pattern meta and text add extra space to the bottom #386

Open msnassar opened 4 months ago

msnassar commented 4 months ago

When not passing content to the card pattern (any variant) but passing meta, then we have an extra space on the bottom. This is due to the fact that my-3 is adding the space to the bottom regardless there is content passed or not. See: https://github.com/openeuropa/oe_bootstrap_theme/blob/1.x/templates/patterns/card/pattern-card--variant-search.html.twig#L11

Same issue when not passing content to the pattern but passing text. This one is due to mb-2-5 in https://github.com/openeuropa/oe_bootstrap_theme/blob/1.x/templates/patterns/card/pattern-card--variant-search.html.twig#L62

UCPKN ticket: https://citnet.tech.ec.europa.eu/CITnet/jira/browse/UCPKN-2923