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:
parent
42eecfabca
commit
89197210cf
@ -105,7 +105,7 @@ class UserauthorizationAction extends Action
|
|||||||
$this->elementStart('div', 'profile');
|
$this->elementStart('div', 'profile');
|
||||||
if ($avatar) {
|
if ($avatar) {
|
||||||
$this->element('img', array('src' => $avatar,
|
$this->element('img', array('src' => $avatar,
|
||||||
'class' => 'avatar profile',
|
'class' => 'avatar',
|
||||||
'width' => AVATAR_PROFILE_SIZE,
|
'width' => AVATAR_PROFILE_SIZE,
|
||||||
'height' => AVATAR_PROFILE_SIZE,
|
'height' => AVATAR_PROFILE_SIZE,
|
||||||
'alt' => $nickname));
|
'alt' => $nickname));
|
||||||
|
Loading…
Reference in New Issue
Block a user