Make WordPress Core

Opened 15 years ago

Closed 15 years ago

#17970 closed defect (bug) (fixed)

Increase min-width of user info dropdown

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

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 15 years ago.
17970.2.patch (2.4 KB ) - added by SergeyBiryukov 15 years ago.
17970.after.png (6.1 KB ) - added by SergeyBiryukov 15 years ago.

Download all attachments as: .zip

Change History (12)

@ocean90
15 years ago

#1 @ocean90
15 years ago

  • Description modified (diff)

#2 @nacin
15 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.

#3 @scribu
15 years ago

+1 on un-burying the network admin link.

#4 @johnbillion
15 years ago

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

#5 @SergeyBiryukov
15 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

#6 @SergeyBiryukov
15 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 15 years ago by SergeyBiryukov (previous) (diff)

#7 @SergeyBiryukov
15 years ago

Related: #18031, #18197

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

#8 @nacin
15 years ago

  • Milestone Awaiting Review3.3
  • Owner set to koopersmith
  • Status newassigned

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

#9 @SergeyBiryukov
15 years ago

  • Resolutionfixed
  • Status assignedclosed

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.