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:
Peter Wilson
2023-10-16 04:41:13 +00:00
parent 60cd149b6f
commit 9225964063
2 changed files with 12 additions and 0 deletions

View File

@@ -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
--------------------------------------------------------------*/

View File

@@ -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
--------------------------------------------------------------*/