From a87bdff35378c1bca39d6c3dcb88635da5adca58 Mon Sep 17 00:00:00 2001
From: Carsten  Rose <carsten.rose@math.uzh.ch>
Date: Thu, 23 Mar 2017 11:26:02 +0100
Subject: [PATCH] AbstractBuildForm.php, qfq-bs.less: in templateGroup removed
 CSS class `qfq-delete-button` and applied `qfq-note-no-padding`. New CSS
 class will be applied to Delete Button in template groups.

---
 extension/qfq/qfq/AbstractBuildForm.php | 2 +-
 less/qfq-bs.css.less                    | 6 ++++--
 2 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/extension/qfq/qfq/AbstractBuildForm.php b/extension/qfq/qfq/AbstractBuildForm.php
index 8f41eb176..a0421a7fc 100644
--- a/extension/qfq/qfq/AbstractBuildForm.php
+++ b/extension/qfq/qfq/AbstractBuildForm.php
@@ -2898,7 +2898,7 @@ EOT;
 EOT;
 
         $htmlDelete = <<<EOT
-<div class="qfq-delete-button">
+<div class="qfq-note-no-padding">
     <button type="button"  class="$removeClass" onclick="QfqNS.removeFields(this)">$removeText</button>
 </div>
 EOT;
diff --git a/less/qfq-bs.css.less b/less/qfq-bs.css.less
index bba6fb9e0..1a4b2021a 100644
--- a/less/qfq-bs.css.less
+++ b/less/qfq-bs.css.less
@@ -180,8 +180,10 @@ i.@{spinner_class} {
   background-color: rgba(102, 175, 233, .6);
 }
 
-
-
+// Workaround as long as rendering of notes can't be specific.
+.qfq-note-no-padding {
+  margin-top: -7px;
+}
 
 // Mit BB anschauen wie man die NOTE Felder formatiert
 //
-- 
GitLab