Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

correct summary styling #894

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

scottaohara
Copy link

closes #891

This revised style ensures that only summary elements that are properly used will be provided the display: list-item style.

closes necolas#891

This revised style ensures that only summary elements that are properly used will be provided the `display: list-item` style.
@garrettw
Copy link

Adding this to my normalize in https://github.com/garrettw/vitals

Jasper1467 added a commit to Jasper1467/normalize.css that referenced this pull request Sep 21, 2023
@samuelreichor
Copy link

I would suggest du completely hide the default detail marker like that:

summary::-webkit-details-marker {
 display: none;
}

summary {
 list-style: none;
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

summary element styling needs to be scoped to details element
3 participants