From 5d6baeac34a1602a44e38f52bcf6519b21fde545 Mon Sep 17 00:00:00 2001
From: Viola Elsenhans <elsenhans@ub.uni-leipzig.de>
Date: Tue, 2 Aug 2022 14:27:10 +0200
Subject: [PATCH] refs #22197 [finc] fix background colour for header in lists

* better nesting - no css changes
---
 themes/finc/scss/components/_headings.scss    | 6 +++++-
 themes/finc/scss/components/_result-list.scss | 6 ++++++
 2 files changed, 11 insertions(+), 1 deletion(-)

diff --git a/themes/finc/scss/components/_headings.scss b/themes/finc/scss/components/_headings.scss
index 1ce00c00eec..79658dd835a 100644
--- a/themes/finc/scss/components/_headings.scss
+++ b/themes/finc/scss/components/_headings.scss
@@ -47,8 +47,12 @@ h2 {
       }
     }
   }
-}
 
+  //// Search results
+  .result-body & {
+    margin: 0;
+  }
+}
 
 // *****************************************************************
 // ************ h3 *************************************************
diff --git a/themes/finc/scss/components/_result-list.scss b/themes/finc/scss/components/_result-list.scss
index ef3a5621fae..81e273f2d7d 100644
--- a/themes/finc/scss/components/_result-list.scss
+++ b/themes/finc/scss/components/_result-list.scss
@@ -7,6 +7,12 @@
 // ************ Media container ************************************
 // *****************************************************************
 
+// re-define header for records in list of result, #19396
+header {
+  background-color: transparent;
+  width: auto;
+}
+
 .record,
 .result {
   // make sure that results items use max. available space on XS
-- 
GitLab