💄 Fix `main` not filling screen vertically

pull/110/head
James Panther 2022-02-07 09:37:59 +11:00
parent 93625b169b
commit d8c2534762
No known key found for this signature in database
GPG Key ID: D36F789E45745D17
2 changed files with 5 additions and 1 deletions

View File

@ -6,6 +6,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
## [Unreleased] ## [Unreleased]
### Fixed
- Main content area not growing to fill screen vertically
## [2.0.3] - 2022-02-07 ## [2.0.3] - 2022-02-07
### Changed ### Changed

View File

@ -26,7 +26,7 @@
> >
</div> </div>
{{- partial "header.html" . -}} {{- partial "header.html" . -}}
<main id="main-content" class="relative"> <main id="main-content" class="relative grow">
{{- block "main" . }}{{- end }} {{- block "main" . }}{{- end }}
{{ if and (.Site.Params.showScrollToTop | default true) (gt .WordCount 200) }} {{ if and (.Site.Params.showScrollToTop | default true) (gt .WordCount 200) }}
<div <div