Skip to content

Commit

Permalink
core/button: set nowrap onlu for button
Browse files Browse the repository at this point in the history
  • Loading branch information
retrofox committed Aug 6, 2019
1 parent dbbe0bc commit 758468c
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions packages/block-library/src/button/editor.scss
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@

// Preview Thumbnail.
.block-editor-block-styles__item .block-editor-block-preview__content {
.block-editor-rich-text__editable {
.wp-block-button .block-editor-rich-text__editable {
white-space: nowrap !important;
margin-top: 6px;
}
Expand All @@ -126,10 +126,6 @@

// Preview Popover.
.block-editor-block-switcher__preview .block-editor-block-preview__content {
.block-editor-rich-text__editable {
white-space: nowrap !important;
}

[data-type="core/button"].wp-block {
width: auto;
}
Expand Down

0 comments on commit 758468c

Please sign in to comment.