Merged
Conversation
Member
Love this. |
mtias
reviewed
Apr 12, 2018
blocks/library/audio/index.js
Outdated
Member
There was a problem hiding this comment.
Are these duplicated buttons needed if that's the default for the component?
Contributor
Author
There was a problem hiding this comment.
Not sure — I just changed the labels already there.
Contributor
Author
added 4 commits
April 12, 2018 12:23
This uses variables for colors and shadows, and also fixes a regression with the link dialog when linking an image. However there's still a bug here, where as soon as you start typing in the image link dialog, the entire thing disappears and you can't type. This is possibly due to isEditing mode being invoked there. Can you take a look, @noisysocks @karmatosed?
This adds a white background, and some things, to the Pagination block. This will only be visible if a user loads a stylesheet into the editor. Fixes #1467 (comment), cc @swissspidy.
This makes the placeholders fit better in small breakpoints.
This makes the left arrow consistent with the one used when creating links on images.
59f3d76 to
6425897
Compare
Member
|
Looks good to me. 🚢 |
Contributor
Author
|
Woop woop! |
Member
It looks like this regression was introduced in #5513. I'll create an issue. |
Member
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

This PR contains 3 sets of fixes.
The first polishes the link dialog a bit, by using color variables. Notably it fixes a regression with the Image link:
There's still an issue here, though, as soon as you start typing in the link dialog for images, it disappears. I suspect isEditing is kicking in and hiding the block toolbars. CC: @noisysocks
The second part unifies the styles between readmore and pagination:
The third is a fix to make sure that placeholders fit in tight spots, by including a shorter Media Library label. It also makes the font sizes on those buttons consistent with all other Gutenberg buttons: