[wp-trac] [WordPress Trac] #57285: Media slug field is artificially narrow - Should use max available width

WordPress Trac noreply at wordpress.org
Tue Dec 6 22:28:24 UTC 2022


#57285: Media slug field is artificially narrow - Should use max available width
-------------------------+-----------------------------
 Reporter:  abitofmind   |      Owner:  (none)
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  Media        |    Version:  6.1.1
 Severity:  minor        |   Keywords:
  Focuses:               |
-------------------------+-----------------------------
 === Reproduction

 1. Go to: WordPress > Media > Library `/wp-admin/upload.php`

 2. Click any image

 3. The media popover opens `/wp-admin/upload.php?item=123`

 4. Click "Edit more details"

 5. The media maximum detail editor opens  `/wp-
 admin/post.php?post=123&action=edit`

 6. Screen Options > Make sure the option "Slug" is enabled.

 **Actual**: This slug field is abnormally narrow (input size=13).

 **Expected**: This slug field uses the maximum available width so that I
 can see and edit my medium to normal length slugs at once.

 **The fix is rather easy:** Make sure this field gets a CSS width: 100%
 and it will optimally utilize the space which any contemporary responsive
 layout foresees.

 Screenshot shows both the problem and the fix.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/57285>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list