Make WordPress Core

Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#22298 closed defect (bug) (fixed)

Permalink box line-wrap covers the media button

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


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 12 years ago.
Overlap of buttons caused be the permalink line wrap
22298.png (14.7 KB) - added by SergeyBiryukov 12 years ago.
22298.patch (491 bytes) - added by SergeyBiryukov 12 years ago.
22298.after.png (15.4 KB) - added by SergeyBiryukov 12 years ago.

Download all attachments as: .zip

Change History (13)

12 years ago

Overlap of buttons caused be the permalink line wrap

#1 @SergeyBiryukov
12 years ago

  • Milestone changed from Awaiting Review to 3.5

#2 @SergeyBiryukov
12 years ago

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

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

12 years ago

#3 @SergeyBiryukov
12 years ago

  • Keywords has-patch added

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

#4 @georgestephanis
12 years ago

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

#5 follow-up: @georgestephanis
12 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

#6 @azaozz
12 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

#7 in reply to: ↑ 5 @azaozz
12 years ago

Replying to georgestephanis:

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

#8 @azaozz
12 years ago

In 22329:

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

#9 @tar.gz
12 years ago

Working perfectly - thanks Sergey for this quick fix!

Note: See TracTickets for help on using tickets.