From 2b1c4b99821019a3dedaf73c704c5d26b82c25db Mon Sep 17 00:00:00 2001 From: Dan Allen Date: Sat, 10 Feb 2018 02:44:22 -0700 Subject: [PATCH] collapse top margin of first child of example block --- src/css/doc.css | 4 ++++ 1 file changed, 4 insertions(+) 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 { -- 2.11.0