From b69b8157d8af3fb50a36bc10affc724ae0022ef7 Mon Sep 17 00:00:00 2001
From: Scott O'Hara <scottaohara@users.noreply.github.com>
Date: Mon, 12 Dec 2022 12:01:58 -0500
Subject: [PATCH] correct summary styling

closes #891

This revised style ensures that only summary elements that are properly used will be provided the `display: list-item` style.
---
 normalize.css | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/normalize.css b/normalize.css
index 192eb9ce4..eae802764 100644
--- a/normalize.css
+++ b/normalize.css
@@ -325,7 +325,7 @@ details {
  * Add the correct display in all browsers.
  */
 
-summary {
+details > summary:first-of-type {
   display: list-item;
 }