Merge branch 'ui-alt' of github.com:timurgordon/ourworld-web into ui-alt

This commit is contained in:
samaradel
2022-04-03 14:09:44 +02:00
22 changed files with 332 additions and 2 deletions

View File

@@ -34,6 +34,13 @@ Parameters:
{% set col_class = "flex-1 m-4 lg:m-0" %}
{% endif %}
<!-- makes row semi-full screen width, strips margins -->
{% if "between" in style %}
{% set row_class = row_class ~ " lg:max-w-6xl" %}
{% elif "moderate" in style %}
{% set row_class = row_class ~ " lg:m-20" %}
{% endif %}
<!-- makes row full screen width, strips margins -->
{% if "narrow" in style %}
{% set row_class = row_class ~ " lg:max-w-3xl" %}