Skip to content

Commit

Permalink
add show-icon-labels support
Browse files Browse the repository at this point in the history
  • Loading branch information
chad1008 committed Dec 15, 2023
1 parent 92e0d6c commit 13d3bc8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ export default function InspectorControlsTabs( {
tabId={ tab.name }
render={
<Button
aria-label={ tab.title }
icon={ tab.icon }
label={ tab.title }
className={ tab.className }
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.show-icon-labels {
.block-editor-block-inspector__tabs .components-tab-panel__tabs {
.block-editor-block-inspector__tabs [role="tablist"] {
.components-button.has-icon {
// Hide the button icons when labels are set to display...
svg {
Expand Down

0 comments on commit 13d3bc8

Please sign in to comment.