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

Use <details> tag for cuts #4

Merged
merged 2 commits into from
Aug 7, 2024

Conversation

Pavel-Tyan
Copy link
Contributor

Move changes from transform package to cut-extension.
Merged PR from transform package: diplodoc-platform/transform#476

Replace div tags to <details> and <summary> tags.

Delete CSS selector for closed cuts state because there
is no need to write 2 separate selectors for cuts state
(open/closed) after using <details> tag.

Add "list-style" and "::-webkit-details-marker" to
delete default toggle marker.

Add color for focus outline because <details> tag
allows to use keyboard navigation for cuts.
Change tests due to replacing <div> tags
to <details> and <summary> tags in cuts.
@martyanovandrey martyanovandrey merged commit 980c5e0 into diplodoc-platform:main Aug 7, 2024
2 checks passed
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.

2 participants