afuna: Cat under a blanket. Text: "Cats are just little people with Fur and Fangs" (Default)
afuna ([personal profile] afuna) wrote in [site community profile] changelog2009-09-02 05:23 pm

[dw-free] Userhead malaligned when selecting style

[commit: http://hg.dwscoalition.org/dw-free/rev/360cf9cedd53]

http://bugs.dwscoalition.org/show_bug.cgi?id=1717

Fix vertical alignment of the userhead icon.

Patch by [personal profile] kareila.

Files modified:
  • cgi-bin/LJ/User.pm
--------------------------------------------------------------------------------
diff -r 8f15cc99612e -r 360cf9cedd53 cgi-bin/LJ/User.pm
--- a/cgi-bin/LJ/User.pm	Wed Sep 02 17:15:10 2009 +0000
+++ b/cgi-bin/LJ/User.pm	Wed Sep 02 17:23:02 2009 +0000
@@ -2309,7 +2309,7 @@ sub ljuser_display {
   
         return "<span $display_class lj:user='$name' style='white-space: nowrap;$strike'><a href='$profile'>" .
             "<img src='$imgurl' alt='[info - $type] ' width='$width' height='$height'" .
-            " style='vertical-align: bottom; border: 0; padding-right: 1px;' /></a>" .
+            " style='vertical-align: text-bottom; border: 0; padding-right: 1px;' /></a>" .
             "<a href='$url' rel='nofollow'><b>$name</b></a></span>";
 
     } else {
@@ -6137,7 +6137,7 @@ sub ljuser
 
         return "<span $display_class lj:user='$user' style='white-space: nowrap;$strike'>" .
             "<a href='$profile'><img src='$img/$fil' alt='[info$alttext] ' width='$x' height='$y'" .
-            " style='vertical-align: bottom; border: 0; padding-right: 1px;' /></a>" .
+            " style='vertical-align: text-bottom; border: 0; padding-right: 1px;' /></a>" .
             "<a href='$url'$link_color>$ljusername</a></span>";
     };
 
--------------------------------------------------------------------------------