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

Replace deprecated ::-webkit-details-marker with ::marker #674

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion dist/spectre.css
Expand Up @@ -2095,7 +2095,7 @@ video.video-responsive::before {
transition: max-height .25s;
}

summary.accordion-header::-webkit-details-marker {
summary.accordion-header::marker {
display: none;
}

Expand Down
2 changes: 1 addition & 1 deletion dist/spectre.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/dist/spectre-rtl.css
Expand Up @@ -2096,7 +2096,7 @@ video.video-responsive::before {
transition: max-height .25s;
}

summary.accordion-header::-webkit-details-marker {
summary.accordion-header::marker {
display: none;
}

Expand Down
2 changes: 1 addition & 1 deletion docs/dist/spectre-rtl.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/dist/spectre.css
Expand Up @@ -2095,7 +2095,7 @@ video.video-responsive::before {
transition: max-height .25s;
}

summary.accordion-header::-webkit-details-marker {
summary.accordion-header::marker {
display: none;
}

Expand Down
2 changes: 1 addition & 1 deletion docs/dist/spectre.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/_accordions.scss
Expand Up @@ -32,7 +32,7 @@

// Remove default details marker in Webkit
summary.accordion-header {
&::-webkit-details-marker {
&::marker {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Begin pseudo classes with a single colon: :

display: none;
}
}