Skip to content

Commit

Permalink
fix fixed block toolbar collapse button when icon labels are shown
Browse files Browse the repository at this point in the history
  • Loading branch information
draganescu committed Aug 14, 2023
1 parent d10e813 commit 68c99ca
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions packages/block-editor/src/components/block-toolbar/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,16 @@
flex-shrink: 1;
}

@include break-medium() {
.block-editor-block-contextual-toolbar.is-fixed {
.components-toolbar,
.components-toolbar-group {
flex-shrink: 0;
}
}
}


.block-editor-rich-text__inline-format-toolbar-group {
.components-button + .components-button {
margin-left: 6px;
Expand Down

0 comments on commit 68c99ca

Please sign in to comment.