WordPress.org

Make WordPress Core

Opened 6 years ago

Closed 4 years ago

#27939 closed enhancement (fixed)

Adjust "Details & Preview" width for longer translations

Reported by: SergeyBiryukov Owned by: SergeyBiryukov
Milestone: 4.6 Priority: low
Severity: minor Version: 3.9
Component: Themes Keywords: has-patch
Focuses: ui, administration Cc:
PR Number:

Description

If translated "Details & Preview" string is longer than the original, it wraps to a second line.

That's OK, but I wonder if we could make the block just a bit wider to allow for longer strings without wrapping.

See the patch and the screenshots.

Attachments (3)

27939.png (113.6 KB) - added by SergeyBiryukov 6 years ago.
27939.patch (392 bytes) - added by SergeyBiryukov 6 years ago.
27939.after.png (115.3 KB) - added by SergeyBiryukov 6 years ago.

Download all attachments as: .zip

Change History (7)

@SergeyBiryukov
6 years ago

#1 follow-up: @nacin
6 years ago

Neither the before nor after screenshots look bad. Wrapped text here isn't a big deal, and I imagine that responsive designs on this page could also force a wrap even with the patch depending on the width of the screen.

#2 @wonderboymusic
4 years ago

  • Keywords close added
  • Owner set to SergeyBiryukov
  • Status changed from new to assigned

Do we want to do anything here?

#3 in reply to: ↑ 1 @SergeyBiryukov
4 years ago

  • Keywords close removed
  • Milestone changed from Awaiting Review to 4.6

Replying to nacin:

Wrapped text here isn't a big deal, and I imagine that responsive designs on this page could also force a wrap even with the patch depending on the width of the screen.

I agree it isn't a big deal, however it doesn't wrap on lower resolutions, because the container div is wider there (47.5% vs. 30.6%), so 27939.patch makes it more consistent.

#4 @SergeyBiryukov
4 years ago

  • Resolution set to fixed
  • Status changed from assigned to closed

In 37219:

Themes: Account for longer strings in Theme Details bar on Themes screen.

Fixes #27939.

Note: See TracTickets for help on using tickets.