From 17ab5c31ed255216a2b734e15e9d11bd4c6fce8b Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Tue, 9 Nov 2010 07:04:50 -0500 Subject: [PATCH] some alignment in the table layout --- plugins/EmailSummary/useremailsummaryhandler.php | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/plugins/EmailSummary/useremailsummaryhandler.php b/plugins/EmailSummary/useremailsummaryhandler.php index d6de6aa055..95b7fdc477 100644 --- a/plugins/EmailSummary/useremailsummaryhandler.php +++ b/plugins/EmailSummary/useremailsummaryhandler.php @@ -143,16 +143,19 @@ class UserEmailSummaryHandler extends QueueHandler $out->elementStart('tr'); $out->elementStart('td', array('width' => AVATAR_STREAM_SIZE, - 'height' => AVATAR_STREAM_SIZE)); + 'height' => AVATAR_STREAM_SIZE, + 'align' => 'left', + 'valign' => 'top')); $out->element('img', array('src' => ($avatar) ? $avatar->displayUrl() : Avatar::defaultImage($avatar_size), 'class' => 'avatar photo', - 'width' => $avatar_size, - 'height' => $avatar_size, + 'width' => AVATAR_STREAM_SIZE, + 'height' => AVATAR_STREAM_SIZE, 'alt' => $profile->getBestName())); $out->elementEnd('td'); - $out->elementStart('td'); + $out->elementStart('td', array('align' => 'left', + 'valign' => 'top')); $out->element('a', array('href' => $profile->profileurl), $profile->nickname); $out->text(' '); -- 2.39.5