Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions packages/block-editor/src/components/block-inspector/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,25 @@
}
}

.show-icon-labels {
.block-editor-block-inspector {
.components-button.has-icon,
[class*="isIconStyles"] {
width: auto;

// Hide the button icons when labels are set to display...
svg {
display: none;
}
// ... and display labels.
&::after {
content: attr(aria-label);
font-size: $helptext-font-size;
}
}
}
}

.block-editor-block-inspector__no-blocks,
.block-editor-block-inspector__no-block-tools {
display: block;
Expand Down