[wp-trac] [WordPress Trac] #17464: Profile Image Offset In Admin Bar When Viewing Site

WordPress Trac wp-trac at lists.automattic.com
Tue May 17 17:55:32 UTC 2011


#17464: Profile Image Offset In Admin Bar When Viewing Site
----------------------------+------------------------------
 Reporter:  jrtc27          |       Owner:
     Type:  defect (bug)    |      Status:  new
 Priority:  normal          |   Milestone:  Awaiting Review
Component:  Graphic Design  |     Version:  3.1.2
 Severity:  minor           |  Resolution:
 Keywords:                  |
----------------------------+------------------------------

Comment (by nacin):

 The theme has this CSS rule:

 {{{
 .avatar {
     float: left;
     margin: 0 10px 0 0 !important;
 }
 }}}

 Specifically the important margin does this damage.

 Adding an important declaration to the margin specified in `#wpadminbar
 .quicklinks li#wp-admin-bar-my-account-with-avatar > a img` seems to do
 the trick. Not sure if we want to do that. (All of our CSS for the admin
 bar could probably be important.)

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/17464#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list