From cff48065d1bc997188465cf1757370a08ec1b2c2 Mon Sep 17 00:00:00 2001
From: Arkerthan <arkerthan@gmail.com>
Date: Tue, 22 Dec 2020 14:08:16 +0100
Subject: [PATCH] use p instead of messing around with line height to make
 space above and below .filter-row

---
 src/interaction/siWardrobe.js | 2 +-
 src/interaction/wardrobe.css  | 6 +-----
 2 files changed, 2 insertions(+), 6 deletions(-)

diff --git a/src/interaction/siWardrobe.js b/src/interaction/siWardrobe.js
index 8f604fb5e4c..0d1388a2c78 100644
--- a/src/interaction/siWardrobe.js
+++ b/src/interaction/siWardrobe.js
@@ -39,7 +39,7 @@ App.UI.SlaveInteract.wardrobe = function(slave) {
 	}
 
 	function filtersDOM() {
-		const el = document.createElement("div");
+		const el = document.createElement("p");
 		el.classList.add("filter-row");
 		el.append("Filters: ");
 
diff --git a/src/interaction/wardrobe.css b/src/interaction/wardrobe.css
index 328e67174f1..bd0797ce1f1 100644
--- a/src/interaction/wardrobe.css
+++ b/src/interaction/wardrobe.css
@@ -1,7 +1,3 @@
-div.filter-row {
-    line-height: 3em;
-}
-
-div.filter-row .button-group {
+.filter-row .button-group {
     margin: 1em;
 }
-- 
GitLab