diff --git a/js/FeedzyBlock/inspector.js b/js/FeedzyBlock/inspector.js index 1d68c3a9..1615ce57 100644 --- a/js/FeedzyBlock/inspector.js +++ b/js/FeedzyBlock/inspector.js @@ -99,7 +99,7 @@ class Inspector extends Component { {'content' === this.state.tab && ( {this.props.attributes.status !== 0 && ( @@ -127,19 +127,6 @@ class Inspector extends Component { 'feedzy-rss-feeds' )} - )} {'fetched' === this.props.state.route && ( @@ -211,73 +198,8 @@ class Inspector extends Component { onChange={this.props.edit.onSort} className="feedzy-sort" /> - )} - - - - - - - + - - - + alt={__( + 'Featured image', + 'feedzy-rss-feeds' + )} + /> + + )} + + {this.props + .attributes + .default !== + undefined && ( - - )} - - {__( - 'Upload Image', - 'feedzy-rss-feeds' )} - + + + {__( + 'Upload Image', + 'feedzy-rss-feeds' + )} + + )} /> @@ -662,6 +599,24 @@ class Inspector extends Component { /> )} + + - - - - )} {'fetched' === this.props.state.route && @@ -795,21 +723,14 @@ class Inspector extends Component { 'feedzy-rss-feeds' )} className="feedzy-advanced-options" - initialOpen={false} + initialOpen={true} > - - - {__( - 'You can find more info about available meta field values here.', - 'feedzy-rss-feeds' - )} - )} + + + + + + + + )} diff --git a/js/FeedzyBlock/style.scss b/js/FeedzyBlock/style.scss index a94aacf7..f5a63c35 100644 --- a/js/FeedzyBlock/style.scss +++ b/js/FeedzyBlock/style.scss @@ -221,4 +221,11 @@ font-size: 13px; line-height: 1.4em; color: #3c434a; +} + +.feedzy-image-buttons { + display: flex; + flex-wrap: wrap; + justify-content: space-evenly; + gap: 15px; } \ No newline at end of file