diff --git a/CHANGELOG.md b/CHANGELOG.md index ee5c2468..67c569c1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,6 +15,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), - Search will now return results for all page types, including lists and taxonomies - Comments partials are now better considered within the page layout +- Reduced whitespace at the top of the main content block - Upgrade to Tailwind v3.1.4 ([#225](https://github.com/jpanther/congo/pull/225)) ### Fixed diff --git a/assets/css/compiled/main.css b/assets/css/compiled/main.css index f03f869a..e8fdb807 100644 --- a/assets/css/compiled/main.css +++ b/assets/css/compiled/main.css @@ -1046,6 +1046,12 @@ body button { padding-left: 0px; } +/* Adjust first child within prose */ + +.prose div.min-w-0.max-w-prose > *:first-child { + margin-top: 0.75rem; +} + /* Table of Contents */ .toc ul, @@ -2898,10 +2904,6 @@ body button { order: 9999; } - .lg\:mt-3 { - margin-top: 0.75rem; - } - .lg\:hidden { display: none; } diff --git a/assets/css/main.css b/assets/css/main.css index 8a0d7428..7285f736 100644 --- a/assets/css/main.css +++ b/assets/css/main.css @@ -42,6 +42,11 @@ body button { @apply rtl:pl-0; } +/* Adjust first child within prose */ +.prose div.min-w-0.max-w-prose > *:first-child { + @apply mt-3; +} + /* Table of Contents */ .toc ul, .toc li { diff --git a/layouts/partials/toc.html b/layouts/partials/toc.html index bd32816e..7a46e177 100644 --- a/layouts/partials/toc.html +++ b/layouts/partials/toc.html @@ -1,4 +1,4 @@ -
+