[wp-trac] [WordPress Trac] #40579: Plugin names no longer showing up in core views

WordPress Trac noreply at wordpress.org
Wed May 10 15:28:44 UTC 2017


#40579: Plugin names no longer showing up in core views
---------------------------------------+-----------------------------
 Reporter:  Otto42                     |       Owner:
     Type:  defect (bug)               |      Status:  new
 Priority:  normal                     |   Milestone:  4.8
Component:  Plugins                    |     Version:
 Severity:  normal                     |  Resolution:
 Keywords:  has-patch has-screenshots  |     Focuses:  administration
---------------------------------------+-----------------------------

Comment (by mrwweb):

 This is a really odd bug. It took me a long time, but I was finally able
 to work up a reduced text case:
 https://codepen.io/mrwweb/pen/BRYzeG?editors=1100#0

 To try to summarize as best I can figure: The `.plugin-information-title`
 uses `white-space: nowrap;` for ''layout'' so the floated vignette and
 title can overlap. It also has `overflow: hidden;` to "crop" the vignette.
 However, I think the browser sees that the floated vignette should be
 "pushing the title out of the way" due to the parent's `overflow: hidden`
 and so triggers the text-overflow ellipsis. I'm not even sure this is a
 bug, though I'll probably report it just in case.

 Note in the test case the text-overflow on the plugin name isn't the
 problem, it's the text-overflow on the ''parent''!

 I see in Chrome that the vignette is also too wide when there's a scroll
 bar on the modal, so refactoring the position similar to what @afercia did
 seems like the right approach. I noticed a couple spacing things with the
 first patch, so I'll try to work a v2 up soon.

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


More information about the wp-trac mailing list