Skip to content
Snippets Groups Projects
Commit 8a47cfb3 authored by Tomi Valentová's avatar Tomi Valentová
Browse files

fix alignment

parent 7471a63e
Branches
No related tags found
2 merge requests!1073fix alignment,!1072Fix alignment
Pipeline #19120 passed
...@@ -16,7 +16,19 @@ ...@@ -16,7 +16,19 @@
{% endfor %} {% endfor %}
<form <form
class="flex flex-col gap-8" class="
flex flex-col gap-8
{% if not page.root_page.content_is_full_width %}
max-w-[100ch]
{% else %}
max-w-[100%]
{% endif %}
{% if page.root_page.content_is_centered %}
mx-auto
{% endif %}
"
action="{% pageurl page %}" action="{% pageurl page %}"
method="post" method="post"
> >
......
<{{ self.tag }} <div
class=" class="
{{ responsive_style }} {% if not page.root_page.content_is_full_width %}
max-w-[100ch]
{% else %}
max-w-[100%]
{% endif %}
{% if self.align == "center" %} {% if page.root_page.content_is_centered %}
text-center mx-auto
{% endif %} {% endif %}
" "
> >
{{ self.headline }} <{{ self.tag }}
</{{ self.tag }}> class="
{{ responsive_style }}
{% if self.align == "center" %}
text-center
{% endif %}
"
>
{{ self.headline }}
</{{ self.tag }}>
</div>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment