-
Notifications
You must be signed in to change notification settings - Fork 809
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tiled gallery & Slideshow: use BlockIcon
component in mediaPlaceholders
#12160
Conversation
Caution: This PR has changes that must be merged to WordPress.com |
BlockIcon
componentBlockIcon
component in mediaPlaceholders
@@ -106,19 +106,10 @@ | |||
|
|||
// Hide captions and upload buttons in style picker preview | |||
.editor-block-preview__content & { | |||
/* @TODO Caption has been commented out */ | |||
// figcaption, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unrelated leftover from #11980 that should be removed. Convenient to get it removed here.
Thank you for the great PR description! When this PR is ready for review, please apply the Scheduled Jetpack release: May 7, 2019. |
simison, Your synced wpcom patch D27433-code has been updated. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good stuff 👍
The icon is slightly different from what is currently in core blocks (20px, not wrapped in BlockIcon
) but matches current Gutenberg.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This seems to work. 👍
Small polish to media placeholder icons. Mostly to remove a CSS hack.
Before
After
Changes proposed in this Pull Request:
BlockIcon
component for spacing, instead of custom CSS. The component has been there for a while already and when Tiled gallery was implemented, it either didn't exist or it wasn't documented well at that point.Testing instructions:
yarn build-extensions
Proposed changelog entry for your changes:
—