[wp-trac] [WordPress Trac] #48617: Twenty Twenty: Figure elements with inline style can overflow content bounds

WordPress Trac noreply at wordpress.org
Wed May 6 15:10:14 UTC 2020


#48617: Twenty Twenty: Figure elements with inline style can overflow content
bounds
---------------------------------------+-----------------------------
 Reporter:  Anlino                     |       Owner:  nielslange
     Type:  defect (bug)               |      Status:  assigned
 Priority:  normal                     |   Milestone:  Future Release
Component:  Bundled Theme              |     Version:  5.3
 Severity:  normal                     |  Resolution:
 Keywords:  needs-patch needs-testing  |     Focuses:
---------------------------------------+-----------------------------

Comment (by samful):

 I wanted to help out @ianbelanger. To remove the {{{!important}}} I had to
 also exclude the figure elements we are working on using {{{:not}}}, from
 the rule that was overriding the rules used in the Suggested solution.
 (this was the {{{entry-content >
 *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not
 (.is-style-wide)}}} rule.)

 Then I simply put the condensed Suggested solution CSS into the
 {{{style.css}}} file in the correct places without the {{{!important}}}.
 Please check my patch file, I expect the {{{style-rtl.css}}} file will
 need to be changed in the same way if approved.

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


More information about the wp-trac mailing list