initial commit
This commit is contained in:
@@ -37,10 +37,11 @@ Parameters:
|
||||
{% set col_class = col_class ~ " first:px-20 max-w-[50%] " %}
|
||||
{% set row_class = row_class ~ " sm:gap-0 " %}
|
||||
{% else %}
|
||||
{% set col_class = col_class ~ " lg:m-0 " %}
|
||||
{% set row_class = row_class ~ " md:py-0 " %}
|
||||
{% set col_class = col_class ~ " lg:m-0" %}
|
||||
{% endif %}
|
||||
{% else %}
|
||||
{% set row_class = row_class ~ " mx-8 " %}
|
||||
{% set row_class = row_class ~ " mx-8" %}
|
||||
{% set col_class = col_class ~ " lg:mx-8 " %}
|
||||
{% endif %}
|
||||
|
||||
@@ -77,14 +78,18 @@ Parameters:
|
||||
<!-- makes row full screen width and adds background img -->
|
||||
{% set styles = "" %}
|
||||
{% if bgPath %}
|
||||
{% set styles = "background: url('" ~ bgPath ~ "'); background-size: cover" %}
|
||||
{% set styles = "background: url('" ~ bgPath ~ "'); background-size: cover;" %}
|
||||
{% endif %}
|
||||
{% if bgStyle %}
|
||||
{% set styles = "background: url('" ~ bgPath ~ "'); background-size: cover; height: -webkit-fill-available" %}
|
||||
{% endif %}
|
||||
{% if bgColor %}
|
||||
{% set styles = "background-color: " ~ bgColor ~ "; background-size: cover" %}
|
||||
{% set row_class = row_class ~ " py-0 " %}
|
||||
{% endif %}
|
||||
|
||||
<div id="{{anchor_link}}" class="w-screen -mx-8 sm:-mx-12 md:-mx-16 lg:-mx-20 justify-center flex" style="{{styles}}">
|
||||
<div class="{{row_class}}">
|
||||
<div class="{{row_class}}" style="width: -webkit-fill-available">
|
||||
{% for column in columns%}
|
||||
|
||||
<!-- Hides empty columns if displayed vertically in small screen -->
|
||||
|
Reference in New Issue
Block a user