Business hours block - fix styling in editor and front end#13728
Business hours block - fix styling in editor and front end#13728
Conversation
|
Caution: This PR has changes that must be merged to WordPress.com |
|
Thank you for the great PR description! When this PR is ready for review, please apply the Scheduled Jetpack release: November 5, 2019. |
|
Just tested and I can verify that it looks like your "After" screenshots, but there's a slight discrepancy between the text leading in the Editor view and published post/page view that still feels a bit off to me. This isn't different from the same visual discrepancy (between Editor view and published post/page view) from other blocks like Contact Form though, so I'm going to go ahead and approve this. |
|
Hmm. Good catch. I'm wondering if we need to rethink styles and html a little bit. Will see what I can do. |
* please check my code
|
MichaelArestad, Your synced wpcom patch D33939-code has been updated. |
|
@jeherve Made some changes. Can you check my code? (I'll be messing a little more with the styles tomorrow, but this might be good enough) As of the latest commit: Editor preview:Site preview: |
|
MichaelArestad, Your synced wpcom patch D33939-code has been updated. |
|
Made more changes to match original mocks: EditorRenderedMobileOriginal figma design for reference:CC @joanrho |
jeherve
left a comment
There was a problem hiding this comment.
This seems to work well for me. Merging.
* 7.9: Changelog * Update version number * Update stable tag and tested up to * Changelog: add #13530 * changelog: add #13578 * Changelog: add #13598 * Changelog: add entry for numerous block preview changes * Changelog: add #13599 * changelog: add #13541 * Changelog: add #13542 * Changelog: add #13331 * Changelog: add #13558 * Changelog: add #13409 * Changelog: add #13582 * Changelog: add #13600 * Changelog: add #13601 * Changelog: add #13595 * Changelog: add #12695 * Changelog: add #13009 * Changelog: add #13649 * Changelog: add #13450 * Changelog: add #13507 * Changelog: add #13658 * Changelog: add #13687 * changelog: add #13683 * Changelog: add #9323 * Changelog: add #13681 * Fix typos in readme * Add link to WordPress Beta Tester plugin * Changelog: add #13630 * Changelog: add #13695 * Changelog: add #13659 * Changelog: add #13716 * Changelog: add #13664 * Changelog: add #13682 * Changelog: add #13362 * Changelog: add #13563 * Add testing list for #13563 * Changelog: add #13735 * Changelog: add #13752 * Changelog: add #13624 * Changelog: add #13756 * Changelog: add #13745 * Changelog: add #13728 * Changelog: add #13779 * Changelog: add #13699 * Changelog: add #13804 * Changelog: add #13761 * Changelog: add #13637 * Changelog: add #13517 * Changelog: add #13521 * Changelog: add #13729 * Testing list: add testing instructions for #13729 * Changelog: add sync changes * Changelog: add #13807 * Changelog: add #13654 * Changelog: add #13795 * Changelog: add #13801 * Changelog: add #13818 * Changelog: add #13725 * Changelog: add #13831 * Changelog: add #13516 * Testing list: add Twenty Twenty instructions * Changelog: add #13799 * Changelog: add #13805 * Changelog: add #13688 * Changelog: add #13830











Fixes #13780
Fixes display of business hours. It was buggy on Twenty Twenty and this not only resolves that display issue, but hardens it in the future (probably) from breakage.
Changes proposed in this Pull Request:
Before
After
Is this a new feature or does it add/remove features to an existing part of Jetpack?
Testing instructions:
Proposed changelog entry for your changes: