[wp-trac] [WordPress Trac] #45993: Twenty Nineteen: Image aligncenter inside column is broken

WordPress Trac noreply at wordpress.org
Wed Apr 24 15:01:04 UTC 2019


#45993: Twenty Nineteen: Image aligncenter inside column is broken
-----------------------------------------+-----------------------------
 Reporter:  dianeco                      |       Owner:  (none)
     Type:  defect (bug)                 |      Status:  new
 Priority:  normal                       |   Milestone:  Future Release
Component:  Bundled Theme                |     Version:  5.0.3
 Severity:  normal                       |  Resolution:
 Keywords:  needs-patch has-screenshots  |     Focuses:  ui
-----------------------------------------+-----------------------------

Comment (by truchot):

 Hi, it's seems code below in `_block.scss` fix this issue & no need media
 query anyone to test ?

 {{{
 .aligncenter {
         @include postContentMaxWidth();
         width: 100%;

         img {
                 margin: 0 auto;
         }
 }
 }}}

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


More information about the wp-trac mailing list