mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-01 15:50:09 +00:00
Twenty Thirteen, Twenty Sixteen: Use default display for summary element.
Within the details block, style the `summary` element using the default display, `list-item`, this ensures the toggle icon appears indicating the summary can be expanded or contracted. Props ankit-k-gupta, nicolefurlan, poena, sabernhardt. Fixes #58915. git-svn-id: https://develop.svn.wordpress.org/trunk@56940 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -319,6 +319,12 @@ hr.wp-block-separator {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
/* Details */
|
||||
|
||||
.wp-block-details > summary:first-of-type {
|
||||
display: list-item;
|
||||
}
|
||||
|
||||
/*--------------------------------------------------------------
|
||||
5.0 Blocks - Widget Blocks
|
||||
--------------------------------------------------------------*/
|
||||
|
||||
@@ -544,6 +544,12 @@ body:not(.sidebar) .wp-block-table.alignfull {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
/* Details */
|
||||
|
||||
.wp-block-details > summary:first-of-type {
|
||||
display: list-item;
|
||||
}
|
||||
|
||||
/*--------------------------------------------------------------
|
||||
6.0 Blocks - Widgets
|
||||
--------------------------------------------------------------*/
|
||||
|
||||
Reference in New Issue
Block a user