Skip to content

Commit

Permalink
Add semantic headings to block inserter groups WordPress#22859
Browse files Browse the repository at this point in the history
  • Loading branch information
Fabian Todt committed Jun 4, 2020
1 parent 5524834 commit 7430d9e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions packages/block-editor/src/components/inserter/panel.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ function InserterPanel( { title, icon, children } ) {
return (
<>
<div className="block-editor-inserter__panel-header">
<span className="block-editor-inserter__panel-title">
<h2 className="block-editor-inserter__panel-title">
{ title }
</span>
</h2>
<Icon icon={ icon } />
</div>
<div className="block-editor-inserter__panel-content">
Expand Down
2 changes: 1 addition & 1 deletion packages/block-editor/src/components/inserter/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ $block-inserter-tabs-height: 44px;
text-transform: uppercase;
font-size: 11px;
font-weight: 500;
margin-right: $grid-unit-10;
margin: 0 $grid-unit-10 0 0;
}

.block-editor-inserter__block-list {
Expand Down

0 comments on commit 7430d9e

Please sign in to comment.