2
0
mirror of https://github.com/inventree/inventree-website.git synced 2025-06-13 10:35:27 +00:00

add no padding to function

This commit is contained in:
2022-02-02 23:59:25 +01:00
parent 7707d1e662
commit 5b3db8aabc
2 changed files with 3 additions and 2 deletions

View File

@ -1,5 +1,6 @@
{% padding = no_padding|true%}
<section class="cm-gray-2 body-font">
<div class="container px-5 py-24 mx-auto">
<div class="container px-5 {% if padding %}py-24{% endif %} mx-auto">
<div class="flex flex-col text-center w-full mb-20">
{% if include.data.title %}<h1 class="sm:text-3xl text-2xl font-medium title-font mb-4 cm-gray-1">{{ include.data.title }}</h1>{% endif %}
{% if include.data.text %}<p class="lg:w-2/3 mx-auto leading-relaxed text-base">{{ include.data.text }}</p>{% endif %}