[wp-trac] [WordPress Trac] #48526: TwentyNineteen: Update margins in editor styles to address upcoming block editor margin changes

WordPress Trac noreply at wordpress.org
Mon Feb 10 18:24:50 UTC 2020


#48526: TwentyNineteen: Update margins in editor styles to address upcoming block
editor margin changes
---------------------------+-----------------------
 Reporter:  Joen           |       Owner:  (none)
     Type:  defect (bug)   |      Status:  assigned
 Priority:  normal         |   Milestone:  5.4
Component:  Bundled Theme  |     Version:
 Severity:  normal         |  Resolution:
 Keywords:  has-patch      |     Focuses:
---------------------------+-----------------------

Comment (by kjellr):

 Thanks for taking a look, @Joen and @jffng!

 > I would not spend too much effort on this

 Thanks. So to be clear for anyone testing: The only known bug with this
 right now is that full-width group blocks seem to have a slight horizontal
 scrollbar on viewports that are under 600px wide.

 > Can you elaborate how you targetted the direct descendants? I think that
 should probably still be the correct thing to do.

 I ''think'' I got this one sorted out. It appears that the full-width
 Group block gets the additional `is-is-block-content` class inside it,
 whereas other alignments do not. I've adjusted the selectors inside of
 [attachment:"48526.3.diff"] to account for that, so this should be ready
 for testing again.

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


More information about the wp-trac mailing list