diff --git a/blocks/library/latest-posts/index.js b/blocks/library/latest-posts/index.js index 2ff9bb31f6ffa..fb8d60996324f 100644 --- a/blocks/library/latest-posts/index.js +++ b/blocks/library/latest-posts/index.js @@ -109,14 +109,17 @@ registerBlockType( 'core/latestposts', { showHint={ false } /> - - this.changePostsToShow( this.refs[ postToShowId ].value ) } - /> +
+ + this.changePostsToShow( this.refs[ postToShowId ].value ) } + /> +
),
diff --git a/blocks/library/latest-posts/style.scss b/blocks/library/latest-posts/style.scss index e5fc7a0a6b38b..53f5494d44fab 100644 --- a/blocks/library/latest-posts/style.scss +++ b/blocks/library/latest-posts/style.scss @@ -14,3 +14,10 @@ .blocks-latest-posts__post-date { padding-left: 1em; } + +.editor-latest-posts__input { + width: 3em; + -webkit-border-radius: 0.3em; + -moz-border-radius: 0.3em; + border-radius: 0.3em; +} \ No newline at end of file