WordPress.org

Make WordPress Core

Opened 2 years ago

Closed 2 years ago

Last modified 2 years ago

#22298 closed defect (bug) (fixed)

Permalink box line-wrap covers the media button

Reported by: tar.gz Owned by: azaozz
Milestone: 3.5 Priority: normal
Severity: normal Version: 3.5
Component: UI Keywords: has-patch
Focuses: Cc:

Description

When a certain combination of narrow screen size and long permalink string occurs, the permalink box underneath the title box wraps on a second line.

In pre-3.5 WordPress this didn't cause overlap, because there was sufficient whitespace to allow the second line.

In the current beta of WordPress 3.5 [22252], when a line wrap occurs, the "Edit", "View Post" and "Get Permalink" buttons get hidden by the new media upload button (introduced with #19956).

Related: #22184

Attachments (4)

upload-url-line-wrap.png (34.9 KB) - added by tar.gz 2 years ago.
Overlap of buttons caused be the permalink line wrap
22298.png (14.7 KB) - added by SergeyBiryukov 2 years ago.
22298.patch (491 bytes) - added by SergeyBiryukov 2 years ago.
22298.after.png (15.4 KB) - added by SergeyBiryukov 2 years ago.

Download all attachments as: .zip

Change History (13)

@tar.gz2 years ago

Overlap of buttons caused be the permalink line wrap

comment:1 @SergeyBiryukov2 years ago

  • Milestone changed from Awaiting Review to 3.5

comment:2 @SergeyBiryukov2 years ago

Caused by #edit-slug-box { height: 1em; }, reintroduced in [22279].

Last edited 2 years ago by SergeyBiryukov (previous) (diff)

@SergeyBiryukov2 years ago

@SergeyBiryukov2 years ago

@SergeyBiryukov2 years ago

comment:3 @SergeyBiryukov2 years ago

  • Keywords has-patch added

Tested in Firefox 16, Chrome 22, IE 8, Opera 12.

comment:4 @georgestephanis2 years ago

Testing patch to see if it reintroduces the jump from #22184

comment:5 follow-up: @georgestephanis2 years ago

Works beautifully for me, my only thought is the units for the min-height -- it was em before the patch, now is px

comment:6 @azaozz2 years ago

  • Owner set to azaozz
  • Resolution set to fixed
  • Status changed from new to closed

In 22328:

Fix the permalink covering the insert media button when wrapped, props SergeyBiryukov, fixes #22298

comment:7 in reply to: ↑ 5 @azaozz2 years ago

Replying to georgestephanis:

Don't think height/min-height is needed there at all.

comment:8 @azaozz2 years ago

In 22329:

Min-height on the permalink wrapper prevents the editor jumping down when starting new post, props SergeyBiryukov, see #22298

comment:9 @tar.gz2 years ago

Working perfectly - thanks Sergey for this quick fix!

Note: See TracTickets for help on using tickets.