Skip to content

Commit

Permalink
Cursor
Browse files Browse the repository at this point in the history
  • Loading branch information
richtabor committed Apr 14, 2023
1 parent 80df07c commit 5f6125f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/block-library/src/details/editor.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
.wp-block-details summary {
cursor: unset;
}

.wp-block-details summary div {
display: inline;
}
4 changes: 4 additions & 0 deletions packages/block-library/src/details/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
overflow: hidden;
}

.wp-block-details summary {
cursor: pointer;
}

// Use block gap for block; falls back to browser default if not supported.
.wp-block-details > *:not(summary) {
margin-block-start: var(--wp--style--block-gap);
Expand Down

0 comments on commit 5f6125f

Please sign in to comment.