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 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 {% include partial/alert.html
style='info' style='info'
title='caveat' title='caveat'

View File

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

View File

@ -5,12 +5,16 @@
{% include base/head.html %} {% include base/head.html %}
</head> </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 %} {% include base/header.html %}
{{ content }} {{ content }}
</div>
<div class="flex-grow"></div>
<div class="flex-none">
{% include base/footer.html %} {% include base/footer.html %}
</div>
</body> </body>
</html> </html>

View File

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

View File

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

View File

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