[wp-trac] [WordPress Trac] #48648: Inconsistent length of .action-links DIV in plugin card

WordPress Trac noreply at wordpress.org
Thu Nov 14 22:37:20 UTC 2019


#48648: Inconsistent length of .action-links DIV in plugin card
-----------------------------+---------------------------------
 Reporter:  kharisblank      |       Owner:  (none)
     Type:  defect (bug)     |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Plugins          |     Version:  5.3
 Severity:  normal           |  Resolution:
 Keywords:  has-screenshots  |     Focuses:  ui, administration
-----------------------------+---------------------------------

Comment (by Otto42):

 This seems to be because `.plugin-action-buttons` has no fixed width. It's
 getting the width of the button at the top plus a 2em margin-left. When
 the button is shorter than the text, the text wraps.

 Making this wider to, say, about 120px or so should make it more
 consistent without allowing the text to interfere into the description
 area. The surrounding `.action-links` div has a 120px width, so matching
 that and eliminating the margin-left should allow it to fill the space
 that the div already has.

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


More information about the wp-trac mailing list