From a77ee04c3e44349f0d16c8687a9982d0407e135c Mon Sep 17 00:00:00 2001 From: n1xx1 Date: Thu, 1 Jul 2021 11:33:35 +0200 Subject: [PATCH] fix: default theme summary and detail Fix incorrect styling with detail/summary elements when nested together. --- client/themes/default/scss/app.scss | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/client/themes/default/scss/app.scss b/client/themes/default/scss/app.scss index f49873b0d7..b166f3b7ee 100644 --- a/client/themes/default/scss/app.scss +++ b/client/themes/default/scss/app.scss @@ -800,7 +800,7 @@ padding-left: 0; } - summary { + > summary { border-radius: 7px; background-color: mc('grey', '50'); cursor: pointer; @@ -819,7 +819,7 @@ &[open] { padding: 1rem; - summary { + > summary { background-color: mc('grey', '100'); border-bottom: 1px solid mc('grey', '300'); border-bottom-left-radius: 0; @@ -832,12 +832,12 @@ background-color: mc('grey', '900'); border-color: mc('grey', '700'); - summary { + > summary { background-color: mc('grey', '900'); border-color: mc('grey', '700'); } - &[open] summary { + &[open] > summary { background-color: lighten(mc('grey', '900'), 5%); } }