WordPress.org

Make WordPress Core

Opened 3 years ago

Closed 3 years ago

#17970 closed defect (bug) (fixed)

Increase min-width of user info dropdown

Reported by: ocean90 Owned by: koopersmith
Milestone: 3.3 Priority: normal
Severity: normal Version: 3.2
Component: UI Keywords: has-patch
Focuses: Cc:

Description (last modified by nacin)

At the moment the min-width is 100px which is too short if you have a short name.

In English with name Nacin: http://d.pr/gGbg

In German where Network admin is Netzwerkadministrator: http://d.pr/rVoz

I would suggest, that we increase it by 50px. That works for both.

Attachments (3)

17970.patch (345 bytes) - added by ocean90 3 years ago.
17970.2.patch (2.4 KB) - added by SergeyBiryukov 3 years ago.
17970.after.png (6.1 KB) - added by SergeyBiryukov 3 years ago.

Download all attachments as: .zip

Change History (12)

ocean903 years ago

comment:1 ocean903 years ago

  • Description modified (diff)

comment:2 nacin3 years ago

  • Description modified (diff)

Could we make this white-space:nowrap and make it scale to whatever width required? 150px is fine for 3.2.1.

Koop suggests that the network admin link should come back out of there. I'd tend to agree. It gets buried. It doesn't make sense in a users menu -- it worked there in the 3.1 paradigm, but not much anymore.

comment:3 scribu3 years ago

+1 on un-burying the network admin link.

comment:4 johnbillion3 years ago

Related: It'd be nice if there was a 'Network Admin' link in the admin bar.

SergeyBiryukov3 years ago

SergeyBiryukov3 years ago

comment:5 SergeyBiryukov3 years ago

Replying to nacin:

Could we make this white-space:nowrap and make it scale to whatever width required?

Replying to johnbillion:

Related: It'd be nice if there was a 'Network Admin' link in the admin bar.

17970.2.patch attempts to do both of these points. Couldn't do without negative margins due to padding of #user_info (which is required too). 17970.after.png shows the result.

Another option would be incorporating scribu's Network Quick-Switch plugin.

Related: #18301

comment:6 SergeyBiryukov3 years ago

Could we make this white-space:nowrap

Well, the patch doesn't exactly make it white-space: nowrap (that would be insufficient), but achieves the same effect :)

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

comment:7 SergeyBiryukov3 years ago

Related: #18031

Version 0, edited 3 years ago by SergeyBiryukov (next)

comment:8 nacin3 years ago

  • Milestone changed from Awaiting Review to 3.3
  • Owner set to koopersmith
  • Status changed from new to assigned

This is now going to be in the admin bar, so assigning to koop for 3.3.

comment:9 SergeyBiryukov3 years ago

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

Network Admin was moved out of the dropdown in [18683], so its width is no longer an issue.

Note: See TracTickets for help on using tickets.