Make WordPress Core

Opened 11 years ago

Closed 11 years ago

#32936 closed defect (bug) (wontfix)

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

Reported by: Luan Ramos Owned by:
Priority: normal Milestone:
Component: Editor Version: 3.8
Severity: normal Keywords:
Cc: Focuses: ui

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 11 years ago.
The changes
32936-wp37.png​ (47.6 KB ) - added by ocean90 11 years ago.

Download all attachments as: .zip

Change History (9)

@Luan Ramos
11 years ago

The changes

#1 @Luan Ramos
11 years ago

Only removed the padding-left

/wp-admin/css/edit.css

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

@ocean90
11 years ago

#2 @ocean90
11 years ago

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

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

#3 @iseulde
11 years ago

  • Component Posts, Post Types → Editor

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


11 years ago

#5 follow-up: @SergeyBiryukov
11 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
11 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
11 years ago

  • Milestone Awaiting Review
  • Resolution → wontfix
  • Status new → 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.