-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Using a summary element in the edit view
- Loading branch information
George Hotelling
committed
Aug 4, 2020
1 parent
0910f45
commit f771953
Showing
2 changed files
with
42 additions
and
51 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,5 @@ | ||
.wp-block-details { | ||
.block-library-details__pseudo-summary { | ||
&::before { | ||
display: inline-block; | ||
content: "▶ "; | ||
} | ||
} | ||
|
||
} | ||
|
||
.wp-block-details.is-open { | ||
.block-library-details__pseudo-summary::before { | ||
transform: rotate(90deg); | ||
summary .rich-text { | ||
display: inline; | ||
} | ||
} |