fix order at mobile

This commit is contained in:
2022-10-04 19:09:11 +02:00
parent 38827133fa
commit 7b41dc1d30
5 changed files with 12 additions and 6 deletions

View File

@@ -70,6 +70,12 @@ Parameters:
{% set row_class = row_class ~ " text-white" %}
{% endif %}
<!-- reverse col at mobile -->
{% if "reverse" in style %}
{% set row_class = "flex flex-col-reverse md:flex-row items-center" %}
{% endif %}
<!-- makes row with margins -->
{% if "margin" in style %}
{% set row_class = row_class ~ " lg:py-28 sm:p-12 md:p-16 lg:p-20" %}