[wp-trac] [WordPress Trac] #19657: 64px Avatar Size Not Enforced in the Toolbar
WordPress Trac
wp-trac at lists.automattic.com
Sat Dec 24 04:28:16 UTC 2011
#19657: 64px Avatar Size Not Enforced in the Toolbar
--------------------------+-----------------------------
Reporter: trepmal | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Toolbar | Version: 3.3
Severity: normal | Keywords: has-patch
--------------------------+-----------------------------
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.
[[Image(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.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/19657>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list