2
0
mirror of https://github.com/inventree/inventree-website.git synced 2025-04-28 05:26:44 +00:00

make height constaint simpler

This commit is contained in:
Matthias Mair 2022-04-23 12:52:19 +02:00
parent c2c4048bb6
commit 606eb592f4
6 changed files with 11 additions and 7 deletions

View File

@ -1,7 +1,7 @@
---
layout: content
---
<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">
{% include partial/alert.html
style='info'
title='caveat'

View File

@ -2,7 +2,7 @@
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"
{% if layout.fullwith %}
style="max-width: 90%"
{% endif %}

View File

@ -5,12 +5,16 @@
{% include base/head.html %}
</head>
<body class="antialiased cm-gray-1 min-h-screen">
<body class="flex flex-col antialiased cm-gray-1 min-h-screen">
<div class="flex-none">
{% include base/header.html %}
{{ content }}
</div>
<div class="flex-grow"></div>
<div class="flex-none">
{% include base/footer.html %}
</div>
</body>
</html>

View File

@ -1,7 +1,7 @@
---
layout: content
---
<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">
<h2>{{ page.title }}</h2>
{{ content }}
{% if page.plugin %}

View File

@ -15,7 +15,7 @@ layout: default
{% endif %}
</header>
<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">
<h1>{{ page.title }}</h1>
<p>
{{ page.date | date_to_string }}

View File

@ -3,7 +3,7 @@ layout: default
title: Blog
permalink: /blog
---
<section class="cm-gray-2 body-font min-h-screen">
<section class="cm-gray-2 body-font">
<div class="pt-3 pb-1 section-container">
<h1 class="header-text title-font mb-4 cm-gray-2">InvenTree Blog</h1>
<div class="flex flex-wrap">