[wp-trac] [WordPress Trac] #46506: Internet Explorer not showing Media & Text Blocks Correctly

WordPress Trac noreply at wordpress.org
Fri Mar 22 15:40:35 UTC 2019


#46506: Internet Explorer not showing Media & Text Blocks Correctly
-----------------------------------------------+-----------------------
 Reporter:  abircham                           |       Owner:  (none)
     Type:  defect (bug)                       |      Status:  reopened
 Priority:  normal                             |   Milestone:
Component:  Bundled Theme                      |     Version:
 Severity:  normal                             |  Resolution:
 Keywords:  reporter-feedback has-screenshots  |     Focuses:
-----------------------------------------------+-----------------------
Changes (by abircham):

 * status:  closed => reopened
 * resolution:  worksforme =>


Comment:

 Replying to [comment:7 ianbelanger]:
 Thank you for your comments. I have added additional custom CSS to the
 style sheet to overcome the issue. I will remove the code over the now so
 that you can see the issue and put it back in on monday.

 The code I have used is:

 .wp-block-media-text:after {
         display: table;
         content: "";
         clear: both;
 }
 .wp-block-media-text figure {
         float: left;
         width: 50%;
 }
 .wp-block-media-text .wp-block-media-text__content {
         float: right;
         width: 50%;
 }
 .wp-block-media-text.has-media-on-the-right figure {
         float: right;
 }
 .wp-block-media-text.has-media-on-the-right .wp-block-media-text__content
 {
         float: left;
 }
 @supports (display: grid) {
         .wp-block-media-text figure {
                 float: none;
                 width: inherit;
         }
         .wp-block-media-text .wp-block-media-text__content {
                 float: none;
                 width: inherit;
         }
         .wp-block-media-text.has-media-on-the-right figure {
                 float: none;
         }
         .wp-block-media-text.has-media-on-the-right .wp-block-media-
 text__content {
                 float: none;
         }
 }

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


More information about the wp-trac mailing list