Fixes #1067: Avatar stretched on authorize remote subscription page. The img tag used a wrong class which had a width: 100% applied.

This commit is contained in:
Adrian Lang 2009-02-21 19:04:27 +01:00 committed by Evan Prodromou
parent 42eecfabca
commit 89197210cf

View File

@ -105,7 +105,7 @@ class UserauthorizationAction extends Action
$this->elementStart('div', 'profile');
if ($avatar) {
$this->element('img', array('src' => $avatar,
'class' => 'avatar profile',
'class' => 'avatar',
'width' => AVATAR_PROFILE_SIZE,
'height' => AVATAR_PROFILE_SIZE,
'alt' => $nickname));