Skip to content

Commit

Permalink
Make the content fit the screen's height
Browse files Browse the repository at this point in the history
  • Loading branch information
fabianrbz committed Nov 27, 2024
1 parent fb0c0d3 commit 6d588bd
Showing 1 changed file with 12 additions and 10 deletions.
22 changes: 12 additions & 10 deletions app/_layouts/default.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!DOCTYPE html>
<html lang="{{ site.lang | default: "en-US" }}" class="scroll-smooth scroll-pt-20">
<html lang="{{ site.lang | default: "en-US" }}" class="scroll-smooth scroll-pt-20 h-full">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta charset="utf-8">
Expand Down Expand Up @@ -39,17 +39,19 @@
{% endif %}
</head>

<body class="bg-primary leading-6">
{% include_cached header.html %}
<body class="bg-primary leading-6 h-full">
<div class="min-h-full flex flex-col">
{% include_cached header.html %}

<div class="flex px-5 md:px-8 2xl:px-[156px] 2xl:mx-auto max-w-screen-2xl">
{{ content }}
</div>
<div class="flex px-5 md:px-8 2xl:px-[156px] 2xl:mx-auto max-w-screen-2xl flex-1 w-full">
{{ content }}
</div>

{% if page.get_help != false %}
{% include get_help.html %}
{% endif %}
{% if page.get_help != false %}
{% include get_help.html %}
{% endif %}

{% include_cached footer.html %}
{% include_cached footer.html %}
</div>
</body>
</html>

0 comments on commit 6d588bd

Please sign in to comment.