normalize.css icon indicating copy to clipboard operation
normalize.css copied to clipboard

summary element styling needs to be scoped to details element

Open scottaohara opened this issue 2 years ago • 1 comments

The current display style applied to the summary element results in unwanted list-item styling for instances where the summary element is not used properly.

summary {
  display: list-item;
}

This should rather be something like details > summary:first-of-type - which matches how modern browsers are treating the element.

scottaohara avatar Dec 12 '22 16:12 scottaohara

Hey, is this issue open?

BamaCharanChhandogi avatar Apr 15 '23 21:04 BamaCharanChhandogi