Make WordPress Core

Opened 10 years ago

Closed 10 years ago

#32936 closed defect (bug) (wontfix)

Align edit slug box on /wp-admin/post.php

Reported by: luan-ramos's profile Luan Ramos Owned by:
Milestone: Priority: normal
Severity: normal Version: 3.8
Component: Editor Keywords:
Focuses: ui Cc:

Description (last modified by ocean90)

Before:

#edit-slug-box {
    color: #666;
    line-height: 24px;
    margin-top: 5px;
    min-height: 25px;
    padding: 0 10px;
}

After:

#edit-slug-box {
    color: #666;
    line-height: 24px;
    margin-top: 5px;
    min-height: 25px;
    padding: 0 10px 0 0; // enhancement
}

The text was misaligned, and then lined the box above.

Attachments (2)

align.png (79.0 KB) - added by Luan Ramos 10 years ago.
The changes
32936-wp37.png (47.6 KB) - added by ocean90 10 years ago.

Download all attachments as: .zip

Change History (9)

@Luan Ramos
10 years ago

The changes

#1 @Luan Ramos
10 years ago

Only removed the padding-left

/wp-admin/css/edit.css

Last edited 10 years ago by Luan Ramos (previous) (diff)

@ocean90
10 years ago

#2 @ocean90
10 years ago

  • Component changed from Administration to Posts, Post Types
  • Description modified (diff)
  • Focuses ui added; administration removed
  • Summary changed from Align slug box to Align edit slug box on /wp-admin/post.php
  • Type changed from enhancement to defect (bug)
  • Version changed from 4.2.2 to 3.8

It was aligned before WordPress 3.8, see 32936-wp37.png

#3 @iseulde
10 years ago

  • Component changed from Posts, Post Types to Editor

This ticket was mentioned in Slack in #core by luanramos. View the logs.


10 years ago

#5 follow-up: @SergeyBiryukov
10 years ago

I think it actually looks better as is, and more consistent with meta box titles.

The padding change in 3.8 appears to be intentional: https://plugins.trac.wordpress.org/changeset/742065.

#6 in reply to: ↑ 5 @Luan Ramos
10 years ago

Replying to SergeyBiryukov:

I think it actually looks better as is, and more consistent with meta box titles.

The padding change in 3.8 appears to be intentional: https://plugins.trac.wordpress.org/changeset/742065.

The new WP Version 4.3, Still left with an impression that this scruffy

#7 @helen
10 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to wontfix
  • Status changed from new to closed

I agree that it looks better the way it is, because of the border and padding on the input having it aligned all the way left optically appears to be misaligned.

Note: See TracTickets for help on using tickets.