From 396abf92b77910a00c58b5788b0b5cd6649747d7 Mon Sep 17 00:00:00 2001 From: Thomas Marstrander Date: Wed, 12 Aug 2015 15:30:10 +0200 Subject: [PATCH] No left, right, top or bot margins for Questions inside QS without frame. HFJ-949 --- css/questionset.css | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/css/questionset.css b/css/questionset.css index 6dceb75..ce830fa 100644 --- a/css/questionset.css +++ b/css/questionset.css @@ -264,3 +264,17 @@ color: #6aa81b; text-align: left; } + +/* No margin for questions when no frame */ +.h5p-no-frame .questionset .h5p-question > * { + margin-left: 0; + margin-right: 0; +} + +.h5p-no-frame .questionset .h5p-question > *:first-child { + margin-top: 0; +} + +.h5p-no-frame .questionset .h5p-question > *:last-child { + margin-bottom: 0; +}