]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
set height and width of avatar td in email summary
authorEvan Prodromou <evan@status.net>
Tue, 9 Nov 2010 11:59:16 +0000 (06:59 -0500)
committerEvan Prodromou <evan@status.net>
Tue, 9 Nov 2010 11:59:16 +0000 (06:59 -0500)
plugins/EmailSummary/useremailsummaryhandler.php

index 1ac1eaedbed8ce760d38aeadbb3e4fbd3c57a336..d6de6aa05587b1b9ecafdc2bf83d0c7799bc23b3 100644 (file)
@@ -142,7 +142,8 @@ class UserEmailSummaryHandler extends QueueHandler
            $avatar = $profile->getAvatar(AVATAR_STREAM_SIZE);
 
            $out->elementStart('tr');
-           $out->elementStart('td');
+           $out->elementStart('td', array('width' => AVATAR_STREAM_SIZE,
+                                          'height' => AVATAR_STREAM_SIZE));
            $out->element('img', array('src' => ($avatar) ?
                                       $avatar->displayUrl() :
                                       Avatar::defaultImage($avatar_size),