Skip to content

Commit 80b1da7

Browse files
committed
Fix an issue where the profile image was not properly sized.
1 parent f558eb3 commit 80b1da7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

profile.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
$user = $userResults->fetchObject();
2828
echo '<header class="profile-info">';
2929
if($user->imguri != NULL) {
30-
echo '<img class="profile-img" aria-label="Profile picture for '.$user->username.'." src="'.$user->imguri.'">';
30+
echo '<img class="profile-img" width="15%" aria-label="Profile picture for '.$user->username.'." src="'.$user->imguri.'">';
3131
}
3232
echo '<h2 class="profile-header">'.$user->username.'\'s Profile</h2>';
3333
if($user->fullName != NULL) {

0 commit comments

Comments
 (0)