Skip to content

Commit

Permalink
Update submenu icon classname.
Browse files Browse the repository at this point in the history
  • Loading branch information
tellthemachines committed Aug 27, 2021
1 parent 28a8829 commit 7c27324
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/block-library/src/navigation-submenu/edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -625,7 +625,7 @@ export default function NavigationSubmenuEdit( {
</Popover>
) }
{ showSubmenuIcon && (
<span className="wp-block-navigation-link__submenu-icon">
<span className="wp-block-navigation__submenu-icon">
<ItemSubmenuIcon />
</span>
) }
Expand Down
2 changes: 1 addition & 1 deletion packages/block-library/src/navigation-submenu/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ function render_block_core_navigation_submenu( $attributes, $content, $block ) {

if ( isset( $block->context['showSubmenuIcon'] ) && $block->context['showSubmenuIcon'] ) {
// The submenu icon can be hidden by a CSS rule on the Navigation Block.
$html .= '<span class="wp-block-navigation-link__submenu-icon">' . block_core_navigation_submenu_render_submenu_icon() . '</span>';
$html .= '<span class="wp-block-navigation__submenu-icon">' . block_core_navigation_submenu_render_submenu_icon() . '</span>';
}

$html .= '</button>';
Expand Down

0 comments on commit 7c27324

Please sign in to comment.