[wp-trac] [WordPress Trac] #45245: Twenty Sixteen: Issues in theme’s Gutenberg support & styles

WordPress Trac noreply at wordpress.org
Tue Nov 6 06:06:04 UTC 2018


#45245: Twenty Sixteen: Issues in theme’s Gutenberg support & styles
-------------------------------------------------+-------------------------
 Reporter:  laurelfulford                        |       Owner:
                                                 |  laurelfulford
     Type:  defect (bug)                         |      Status:  closed
 Priority:  normal                               |   Milestone:  5.0
Component:  Bundled Theme                        |     Version:  5.0
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  has-patch needs-testing has-         |     Focuses:
  screenshots dev-reviewed                       |
-------------------------------------------------+-------------------------
Changes (by laurelfulford):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"43875" 43875]:
 {{{
 #!CommitTicketReference repository="" revision="43875"
 Twenty Sixteen: Fix issues with theme's Gutenberg support.

 A handful of issues were missed in Twenty Sixteen's Gutenberg support,
 added in #45044. This commit includes the following fixes:

 * Center text and bullets in list-based widget blocks, when block itself
 is centered.
 * Correct styles for the editor placeholder text, so it's not inheriting a
 darker gray from the theme's CSS.
 * Include non "image" variations of the Cover block classes `.wp-block-
 cover` and `.wp-block-cover-text` in the styles.
 * Reset Cover blocks as `display: flex` when they are centered, to
 maintain their original appearance.
 * Add spacing underneath the Media & Text block, but make sure the final
 paragraph in the block doesn't add too much space.
 * Simplify selectors used to set editor width to just `.wp-block`.
 * Prevent margin from theme's editor-style.css from interfering with
 editor alignment.

 Props pento, davidakennedy.
 Fixes #45245.
 }}}

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


More information about the wp-trac mailing list