From: Dan Allen Date: Sat, 31 Mar 2018 22:26:43 +0000 (-0600) Subject: collapse top margin on first child of sidebar if sidebar has no title X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=cb5687a267497dc124ff491706b335894312e7b3;p=eg-antora.git collapse top margin on first child of sidebar if sidebar has no title --- diff --git a/src/css/doc.css b/src/css/doc.css index 8204473..4ce62e7 100644 --- a/src/css/doc.css +++ b/src/css/doc.css @@ -437,6 +437,10 @@ text-align: center; } +.doc .sidebarblock > .content > :not(.title):first-child { + margin-top: 0; +} + /* NEEDS REVIEW prevent pre in table from causing article to exceed bounds */ .doc .tableblock pre, .doc .listingblock.wrap pre {