Skip to content

Commit

Permalink
RSS block: update editor classes for consistency,
Browse files Browse the repository at this point in the history
  • Loading branch information
ZebulanStanphill committed Apr 21, 2020
1 parent c2d1e24 commit 775e3f7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions packages/block-library/src/rss/edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,15 +55,15 @@ export default function RSSEdit( { attributes, setAttributes } ) {
<Placeholder icon={ rss } label="RSS">
<form
onSubmit={ onSubmitURL }
className="blocks-rss__placeholder-form"
className="wp-block-rss__placeholder-form"
>
<TextControl
placeholder={ __( 'Enter URL here…' ) }
value={ feedURL }
onChange={ ( value ) =>
setAttributes( { feedURL: value } )
}
className="blocks-rss__placeholder-input"
className="wp-block-rss__placeholder-input"
/>
<Button isPrimary type="submit">
{ __( 'Use URL' ) }
Expand Down
4 changes: 2 additions & 2 deletions packages/block-library/src/rss/editor.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
display: inline;
}

.blocks-rss__placeholder-form {
.wp-block-rss__placeholder-form {
display: flex;
align-items: stretch;

Expand All @@ -23,7 +23,7 @@
}
}

.blocks-rss__placeholder-input {
.wp-block-rss__placeholder-input {
display: flex;
align-items: stretch;
flex-grow: 1;
Expand Down

0 comments on commit 775e3f7

Please sign in to comment.