Skip to content

Commit

Permalink
correct summary styling
Browse files Browse the repository at this point in the history
closes necolas#891

This revised style ensures that only summary elements that are properly used will be provided the `display: list-item` style.
  • Loading branch information
scottaohara committed Dec 12, 2022
1 parent fc091cc commit b69b815
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion normalize.css
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ details {
* Add the correct display in all browsers.
*/

summary {
details > summary:first-of-type {
display: list-item;
}

Expand Down

0 comments on commit b69b815

Please sign in to comment.