[wp-trac] [WordPress Trac] #42201: Admin Sidebar Text length Issue

WordPress Trac noreply at wordpress.org
Wed Oct 16 23:28:06 UTC 2019


#42201: Admin Sidebar Text length Issue
----------------------------------------------+--------------------------
 Reporter:  jagirbaheshwp                     |       Owner:  johnbillion
     Type:  defect (bug)                      |      Status:  reopened
 Priority:  normal                            |   Milestone:  5.3
Component:  Administration                    |     Version:  4.8.2
 Severity:  normal                            |  Resolution:
 Keywords:  has-screenshots has-patch commit  |     Focuses:  ui
----------------------------------------------+--------------------------

Comment (by johnjamesjacoby):

 Some research from: https://www.w3.org/TR/css-flexbox-1/#flex-items

 > Each in-flow child of a flex container becomes a flex item, and each
 contiguous sequence of child text runs is wrapped in an anonymous block
 container flex item. However, if the entire sequence of child text runs
 contains only white space (i.e. characters that can be affected by the
 white-space property) it is instead not rendered (just as if its text
 nodes were display:none).

 If I am reading this correctly, anything now "inside" that now-flexed
 anchor is forced to be a flex element.

 Using `display: block !important;` even gets ignored in all browsers,
 confirming (to me) that child pseudo elements of a flexed element are
 forced to flex, meaning there is no alternative CSS to get this styling
 working again.

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


More information about the wp-trac mailing list