Skip to content
Snippets Groups Projects

Update centering

Merged Alexa Valentová requested to merge feat/future-calendars into test
2 files
+ 16
1
Compare changes
  • Side-by-side
  • Inline
Files
2
{% 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>
Loading