Opened 6 years ago
Closed 6 years ago
#45243 closed defect (bug) (fixed)
Twenty Fourteen: Issues in theme’s Gutenberg support & styles
Reported by: | laurelfulford | Owned by: | laurelfulford |
---|---|---|---|
Milestone: | 5.0 | Priority: | normal |
Severity: | normal | Version: | 5.0 |
Component: | Bundled Theme | Keywords: | has-patch, needs-testing, has-screenshots, dev-reviewed, fixed-5.0 |
Focuses: | Cc: |
Description
I’ve re-reviewed the Gutenberg support that added in #45042, primarily to find anything that might have been missed, but also make sure none of the other changes happening during 5.0 development so far created a need for theme updates, too.
I opted to combine my findings per theme into one ticket, since many of the issues showed up in more than one of the default themes — it seemed like it would make it easier to review and commit these fixes, given the timeline.
In Twenty Fourteen, I found these issues:
- I’d originally added spacing between the columns in the column blocks, which is no longer needed.
- The Media & Text block does not have spacing underneath it.
- The cover blocks need to have their styles updated to add the newer non
-image-
variations of the cover block classes (.wp-block-cover
and.wp-block-cover-text
) - The placeholder text does not use the correct font styles.
- Editor width selectors can be simplified to just use
wp-block
in Gutenberg 4.2 RC 1.
Attachments (12)
Change History (22)
#1
@
6 years ago
45243.patch includes fixes for all of the above listed issues, but I only included screenshots where it seemed like it would be helpful!
#2
@
6 years ago
Hey @laurelfulford, this patch looks solid. I did notice one thing with the media and text block. Having bottom margins on paragraphs and the outer container for the block causes extra spacing. I didn't notice this in other themes so far. We may want to account for this. See my screenshot. Otherwise, patch is good.
#4
@
6 years ago
Thanks @davidakennedy! 45243.1.patch makes a small update, to remove the bottom margin from the last child of the Media & Text block.
@
6 years ago
Twenty Fourteen - center bullets along with text in list-based widgets that are centred
#5
@
6 years ago
45243.2.patch builds on the above, and fixes an issue @pento spotted in other themes, where bullets in centred widget blocks weren't also centred, which looks a bit odd.