[wp-trac] [WordPress Trac] #45040: Twenty Twelve: Update theme to add Gutenberg styles and support

WordPress Trac noreply at wordpress.org
Fri Oct 19 21:11:51 UTC 2018


#45040: Twenty Twelve: Update theme to add Gutenberg styles and support
-------------------------------------+----------------------------
 Reporter:  laurelfulford            |       Owner:  laurelfulford
     Type:  task (blessed)           |      Status:  assigned
 Priority:  normal                   |   Milestone:  5.0
Component:  Bundled Theme            |     Version:
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |     Focuses:
-------------------------------------+----------------------------

Comment (by crunnells):

 Hey Laurel! I took a look at this theme and found a few minor issues:
 * `.wp-block-image` margins don't match up with base theme styles,
 consider setting the margin to `margin: 0 0 1.714285714rem;` and setting
 the `line-height: 0;`
 * `img.alignleft` and `img.alignright` in the theme have a top margin (eg:
 `margin: 0.857142857rem 1.714285714rem 0.857142857rem 0;`), but Gutenberg
 blocks with the same alignment do not.
 * Aligned images with captions have different spacing than Gutenberg
 captions.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/45040#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list