From 78836be29b68864884ed08d277aec41fab28e261 Mon Sep 17 00:00:00 2001
From: George Katsikas <giorgakis.katsikas@gmail.com>
Date: Wed, 19 Jul 2023 20:38:27 +0300
Subject: [PATCH] fix nested summaries in details not switching caret

---
 .../scipost/static/scipost/assets/config/preconfig.scss         | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scipost_django/scipost/static/scipost/assets/config/preconfig.scss b/scipost_django/scipost/static/scipost/assets/config/preconfig.scss
index b47abe90d..e024a3d28 100644
--- a/scipost_django/scipost/static/scipost/assets/config/preconfig.scss
+++ b/scipost_django/scipost/static/scipost/assets/config/preconfig.scss
@@ -251,7 +251,7 @@ summary {
 }
 
 // Rotate the equilateral triangle when summary is open
-details[open] summary.list-triangle::before {
+details[open] > summary.list-triangle::before {
   content: "â–¼";
 }
 
-- 
GitLab