Skip to content

Commit

Permalink
🐛 Fix main content not growing to window height
Browse files Browse the repository at this point in the history
Fixes #201
  • Loading branch information
jpanther committed May 25, 2022
1 parent 586eb4e commit 3b3d78a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),

## [Unreleased]

### Fixed

- Main content area doesn't grow to window height ([#201](https://github.com/jpanther/congo/issues/201))

## [2.2.0] - 2022-05-09

### Added
Expand Down
4 changes: 2 additions & 2 deletions layouts/_default/baseof.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
>
</div>
{{- partial "header.html" . -}}
<div class="relative">
<div class="relative flex flex-col grow">
<main id="main-content" class="grow">
{{- block "main" . }}{{- end }}
{{ if and (.Site.Params.showScrollToTop | default true) (gt .WordCount 200) }}
Expand All @@ -44,10 +44,10 @@
</div>
{{ end }}
</main>
{{- partial "footer.html" . -}}
{{ if .Site.Params.enableSearch | default false }}
{{- partial "search.html" . -}}
{{ end }}
{{- partial "footer.html" . -}}
</div>
</body>
</html>

0 comments on commit 3b3d78a

Please sign in to comment.