2
0
mirror of https://github.com/inventree/inventree-website.git synced 2025-08-06 04:31:48 +00:00

conditional fullwidth

This commit is contained in:
Matthias Mair
2022-04-22 22:43:12 +02:00
parent b8f657d263
commit 4470936e1d
2 changed files with 6 additions and 1 deletions

View File

@@ -2,7 +2,11 @@
layout: default
---
<article class="prose prose-sm sm:prose lg:prose-lg xl:prose-xl mx-auto min-h-screen">
<article class="prose prose-sm sm:prose lg:prose-lg xl:prose-xl mx-auto min-h-screen"
{% if layout.fullwith %}
style="max-width: 90%"
{% endif %}
>
{% if layout.notitle != true %}
<h2>{{ page.title }}</h2>
{% endif %}