WordPress.org

Make WordPress Core

Opened 4 years ago

Closed 4 years ago

#19657 closed defect (bug) (duplicate)

64px Avatar Size Not Enforced in the Toolbar

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

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 4 years ago.
targeting .avatar-64 (reupped)

Download all attachments as: .zip

Change History (2)

@trepmal4 years ago

targeting .avatar-64 (reupped)

comment:1 @SergeyBiryukov4 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to duplicate
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.