[wp-trac] [WordPress Trac] #46750: Twenty Nineteen: Add styles to support the group block

WordPress Trac noreply at wordpress.org
Wed Jun 19 15:15:51 UTC 2019


#46750: Twenty Nineteen: Add styles to support the group block
---------------------------------------+---------------------
 Reporter:  kjellr                     |       Owner:  (none)
     Type:  enhancement                |      Status:  new
 Priority:  normal                     |   Milestone:  5.3
Component:  Bundled Theme              |     Version:
 Severity:  normal                     |  Resolution:
 Keywords:  has-patch has-screenshots  |     Focuses:
---------------------------------------+---------------------

Comment (by dianeco):

 @kjellr This patch works great! The only thing that I think misses is the
 ability to remove margins between 2 consecutive full-width group. Moreover
 if we want to separate them, we can use the spacer.
 >> By default Core Gutenberg set the margin top and bottom to 0 when a
 background is set. This property is overridden by Twenty Nineteen style."

 {{{
 .entry .entry-content .wp-block-group.has-background.alignfull{
  margin-top:0;
  margin-bottom: 0;
 }
 }}}



 Currently we have:

 [[Image(https://i.imgur.com/NgQhDBF.png)]]

 It would be great to have:

 [[Image(https://i.imgur.com/cDkm2bG.png)]]

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


More information about the wp-trac mailing list