From: Dan Allen Date: Sat, 10 Feb 2018 09:44:22 +0000 (-0700) Subject: collapse top margin of first child of example block X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=2b1c4b99821019a3dedaf73c704c5d26b82c25db;p=eg-antora.git collapse top margin of first child of example block --- diff --git a/src/css/doc.css b/src/css/doc.css index b7fe29a..abf3e01 100644 --- a/src/css/doc.css +++ b/src/css/doc.css @@ -415,6 +415,10 @@ padding: 0.75rem; } +.doc .exampleblock > :first-child { + margin-top: 0; +} + /* NEEDS REVIEW prevent pre in table from causing article to exceed bounds */ .doc .tableblock pre, .doc .listingblock.wrap pre {