Skip to content

Commit

Permalink
Polish shortcode block.
Browse files Browse the repository at this point in the history
  • Loading branch information
jasmussen committed Nov 4, 2020
1 parent e2bdfbe commit 6c35319
Showing 1 changed file with 3 additions and 18 deletions.
21 changes: 3 additions & 18 deletions packages/block-library/src/shortcode/editor.scss
Original file line number Diff line number Diff line change
@@ -1,25 +1,10 @@
.wp-block-shortcode {
display: flex;
flex-direction: column;
padding: $block-padding;
font-size: $default-font-size;
font-family: $default-font;
margin-bottom: $default-block-margin;

label {
display: flex;
align-items: center;
white-space: nowrap;
font-weight: 600;
flex-shrink: 0;
}

[data-type="core/shortcode"] {
.block-editor-plain-text {
max-height: 250px;
}

.dashicon {
margin-right: $grid-unit-10;
&.components-placeholder {
min-height: 0;
}
}

Expand Down

0 comments on commit 6c35319

Please sign in to comment.