[wp-trac] [WordPress Trac] #43123: Default captions should NOT use max-width

WordPress Trac noreply at wordpress.org
Thu Jan 18 10:17:43 UTC 2018


#43123: Default captions should NOT use max-width
--------------------------+------------------------------
 Reporter:  smerriman     |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Media         |     Version:  4.9
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------

Comment (by lrdn):

 Is there a specific reason you can't use the {{{!important}}} rule on the
 declaration? I know it is considered bad practice, but so are inline CSS
 styles which shouldn't be used by the WordPress core anyway.

 {{{
 .alignleft, .alignright {
         max-width: 50% !important;
 }
 }}}

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


More information about the wp-trac mailing list