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

WordPress Trac wp-trac at lists.automattic.com
Thu May 19 07:56:03 UTC 2011


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

 * status:  new => closed
 * resolution:   => fixed


Comment:

 Replying to [comment:3 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.)

 Great, thanks. I am closing the ticket. I just added the `!important`
 declaration to the margin in `#wpadminbar .quicklinks li#wp-admin-bar-my-
 account-with-avatar > a img`.

 Thanks again,
 James

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


More information about the wp-trac mailing list