2
0
mirror of https://github.com/inventree/inventree-website.git synced 2025-04-29 05:56:45 +00:00

only show detail block if needed

This commit is contained in:
Matthias Mair 2022-04-22 23:39:57 +02:00
parent 477d13e8a7
commit 9024915389

View File

@ -9,7 +9,9 @@
<span class="bg-clip-text text-transparent bg-gradient-to-r from-primary to-secondary">{{ include.color }}</span> <span class="bg-clip-text text-transparent bg-gradient-to-r from-primary to-secondary">{{ include.color }}</span>
{% endif %} {% endif %}
</h1> </h1>
{% if include.detail %}
<p class="mb-8 leading-relaxed">{{ include.detail }}</p> <p class="mb-8 leading-relaxed">{{ include.detail }}</p>
{% endif %}
<div class="flex justify-center"> <div class="flex justify-center">
<button class="inline-flex text-white bg-secondary border-0 py-2 px-6 focus:outline-none hover:bg-primary rounded text-lg">Button</button> <button class="inline-flex text-white bg-secondary border-0 py-2 px-6 focus:outline-none hover:bg-primary rounded text-lg">Button</button>
<button class="ml-4 inline-flex cm-hvr-btn border-0 py-2 px-6 focus:outline-none text-lg">Button</button> <button class="ml-4 inline-flex cm-hvr-btn border-0 py-2 px-6 focus:outline-none text-lg">Button</button>