Make WordPress Core

Opened 14 years ago

Closed 14 years ago

#17970 closed defect (bug) (fixed)

Increase min-width of user info dropdown

Reported by: ocean90's profile ocean90 Owned by: koopersmith's profile 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 14 years ago.
17970.2.patch (2.4 KB) - added by SergeyBiryukov 14 years ago.
17970.after.png (6.1 KB) - added by SergeyBiryukov 14 years ago.

Download all attachments as: .zip

Change History (12)

@ocean90
14 years ago

#1 @ocean90
14 years ago

  • Description modified (diff)

#2 @nacin
14 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
14 years ago

+1 on un-burying the network admin link.

#4 @johnbillion
14 years ago

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

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

#7 @SergeyBiryukov
14 years ago

Related: #18031, #18197

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

#8 @nacin
14 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.

#9 @SergeyBiryukov
14 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.