Skip to content

Commit b69b815

Browse files
authored
correct summary styling
closes necolas#891 This revised style ensures that only summary elements that are properly used will be provided the `display: list-item` style.
1 parent fc091cc commit b69b815

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

normalize.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ details {
325325
* Add the correct display in all browsers.
326326
*/
327327

328-
summary {
328+
details > summary:first-of-type {
329329
display: list-item;
330330
}
331331

0 commit comments

Comments
 (0)