-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Polish block UI, inspector, add contributors, fix quote styles #2001
Conversation
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.
Outside of that tiny detail, looks good to me.
This will be an ongoing task. Anyone should feel free to add.
This makes it the same as that of the block code, which fixes issues, and makes it more maintainable.
This makes it the same as the block code, making it easier to maintain and fixing issues.
Some pixels here, a few there. A background for when no block is selected. All good.
This makes the mover (left) and cog/trash button (right) have the same margins and paddings, simplifying the appearance a bit.
Like with the other prompts and titles, this rewrites the responsive code so it is easier to maintain (same as elsewhere), and fixes issues.
Because why not.
b1192b1
to
d34aff1
Compare
Rebased. Will wait again. |
Yes, good call. |
Ack, need to revisit that. Okay. |
Fix issue with movers overlapping, and with mobile toolbar being broken on wide.
I couldn't think of any side-effects to this.
Only showed when settings was closed.
Looks good to me now. |
Thanks. Merging. Travis needs work anyway. |
Okay maybe I should have waited for the tests to finish, my apologies. I was under the impression travis was totally broken, when in fact it's probably only partially broken. |
This is sort of a kitchen sink PR to fix a lot of lingering little issues.
Normalization
The biggest issues fixed here are the normalization of block paddings and margins between the title, the empty placeholder, and the below the placeholder elements. These now share basically the same styles, which means they behave identically at responsive breakpoints (fixing issues), but the normalization also makes the code easier to maintain.
Steps to test: View the editor at multiple responsive breakpoints (resize the window), and verify that
Other
Mover and cog/trash elements now have the same dimensions, and fit nicely within the smallest block (a single empty paragraph). This means the mover up/down arrows are spaced a little farther apart, but it gives some nice symmetry. Verify it looks good ;)
Quote styles were fixed, there was a CSS bleed regression from a recent tinymce update. To test, verify lineheights and margins for anything that uses the Editable component didn't regress from this fix.
The inspector was polished a bit to remove double borders, tweak the close button padding, and add a white background when no block is selected.
The contributors document was updated with recent contributors. I know it's a bummer that this isn't automated, but it means we can give credit to contributors who test, mock up and other things.