diff --git a/html/src/css/style.css b/html/src/css/style.css index 64ff471d..292f2aa1 100644 --- a/html/src/css/style.css +++ b/html/src/css/style.css @@ -189,6 +189,14 @@ a { border: 5px solid var(--banner-background); } +.user-pp-image { + width: 10em; + height: 10em; + border-radius: 10em; + transform: translate(0, -60%); + border: 5px solid var(--banner-background); +} + .user-profile .user-pp { height: 6em; } diff --git a/html/users.php b/html/users.php index 83c63a93..e3a1952d 100644 --- a/html/users.php +++ b/html/users.php @@ -81,7 +81,7 @@ if(isset($_POST['userid']) && isset($_POST['role']) && isset($_POST['accreditati if ($resultat) { foreach($resultat as $row) { - $user_pp = $row['profile_picture'] == NULL ? "https://abs.twimg.com/sticky/default_profile_images/default_profile_400x400.png" : $resultat[0]['profile_picture']; + $user_pp = $row['profile_picture'] == NULL ? "https://abs.twimg.com/sticky/default_profile_images/default_profile_400x400.png" : $row['profile_picture']; echo "