-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: use <details> tag for cuts (#476)
* refactor: use <details> tag for cuts 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. * test: change tests for cuts Change tests due to replacing <div> tags to <details> and <summary> tags in cuts.
- Loading branch information
1 parent
ac1175c
commit dca71bb
Showing
3 changed files
with
60 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters