Skip to content

Commit

Permalink
fixed the container height (#16)
Browse files Browse the repository at this point in the history
* fixed the container height

* Scroll bar fixes

* Scrollbar fix

* Update default.html
  • Loading branch information
dkrees authored Feb 20, 2024
1 parent c314aa6 commit 41c0813
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
</nav>

<!-- MAIN CONTENT -->
<main class="container min-h-[calc(100vh-208px)] max-w-7xl w-full px-2 py-4 mx-auto font-light prose dark:prose-invert prose-headings:font-light">
<main class="container min-h-[calc(100vh-214px)] max-w-7xl w-full px-2 py-4 mx-auto font-light prose dark:prose-invert prose-headings:font-light">
{{ content }}
</main>

Expand Down
5 changes: 5 additions & 0 deletions assets/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@
@layer base {
html {
font-size: 16px;
scrollbar-gutter: stable;
}

body {
overflow-y: scroll;
}

a {
Expand Down

0 comments on commit 41c0813

Please sign in to comment.