diff --git a/packages/block-library/src/rss/edit.js b/packages/block-library/src/rss/edit.js index 7c35d63f4fc89..467b22e3e5883 100644 --- a/packages/block-library/src/rss/edit.js +++ b/packages/block-library/src/rss/edit.js @@ -14,7 +14,6 @@ import { RangeControl, ToggleControl, ToolbarGroup, - __experimentalHStack as HStack, __experimentalInputControl as InputControl, } from '@wordpress/components'; import { useState } from '@wordpress/element'; @@ -59,32 +58,40 @@ export default function RSSEdit( { attributes, setAttributes } ) { const blockProps = useBlockProps(); + const label = __( 'RSS URL' ); + if ( isEditing ) { return (
- +
- - - setAttributes( { feedURL: value } ) - } - className="wp-block-rss__placeholder-input" - /> - - + + setAttributes( { feedURL: value } ) + } + className="wp-block-rss__placeholder-input" + /> +
diff --git a/packages/block-library/src/rss/editor.scss b/packages/block-library/src/rss/editor.scss index 9b4bac2874ad5..095da46973509 100644 --- a/packages/block-library/src/rss/editor.scss +++ b/packages/block-library/src/rss/editor.scss @@ -14,8 +14,8 @@ } .wp-block-rss__placeholder-input { - flex: 1; - min-width: 80%; + margin: 0 8px 0 0; + flex: 1 1 auto; } }