Make WordPress Core

Opened 15 years ago

Closed 15 years ago

#19657 closed defect (bug) (duplicate)

64px Avatar Size Not Enforced in the Toolbar

Reported by: trepmal Owned by:
Priority: normal Milestone:
Component: Toolbar Version: 3.3
Severity: normal Keywords: has-patch
Cc: Focuses:

Description

If a custom avatar default is defined, and a user without their own Gravatar is logged in, the custom default is shown in all its glory (not resized) in the My Account menu of the Toolbar.

http://cl.ly/Cpvw/large-custom-avatar.png

Though there are width and height attributes, the CSS supersedes that with

#wpadminbar * {
	height: auto;
	width: auto;
}

making the custom avatar show at its normal size.

Since the dimensions are also in the class, it's easy to target that image with CSS and force the correct size.

Attachments (1)

19657.diff (376 bytes ) - added by trepmal 15 years ago.
targeting .avatar-64 (reupped)

Download all attachments as: .zip

Change History (2)

@trepmal
15 years ago

targeting .avatar-64 (reupped)

#1 @SergeyBiryukov
15 years ago

  • Milestone Awaiting Review
  • Resolutionduplicate
  • Status newclosed
Note: See TracTickets for help on using tickets.