Skip to content
Snippets Groups Projects
Commit 46bd1c76 authored by Alexa Valentová's avatar Alexa Valentová
Browse files

Update centering

parent 417f7c69
No related branches found
No related tags found
2 merge requests!1262Update centering,!1261Update centering
Pipeline #20771 passed
{% firstof self.page.url self.link as link %}
<div class="py-4 {% if self.align == 'center' %}flex justify-center items-center max-w-[100ch]{% endif %}">
<div
class="
{% if page.root_page.content_is_centered %}
mx-auto
{% endif %}
py-4
{% if self.align == 'center' %}flex justify-center items-center max-w-[100ch]{% endif %}
"
>
{% include "styleguide2/includes/atoms/buttons/round_button.html" with url=link size=self.size text=self.title show_arrow_on_hover=self.hoveractive classes=color_classes %}
</div>
......@@ -12,6 +12,10 @@
max-w-[100ch]
{% endif %}
{% if page.root_page.content_is_centered %}
mx-auto
{% endif %}
group
text-center rounded cursor-pointer
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment