mirror of https://github.com/itflow-org/itflow
Make user images fit the parent container and remove the cricle
This commit is contained in:
parent
5e5c546b97
commit
7e475b1083
|
|
@ -14,7 +14,7 @@
|
|||
|
||||
<center class="mb-3">
|
||||
<?php if(!empty($user_avatar)){ ?>
|
||||
<img class="img-size-100 img-circle" src="<?php echo "uploads/users/$user_id/$user_avatar"; ?>">
|
||||
<img class="img-fluid" src="<?php echo "uploads/users/$user_id/$user_avatar"; ?>">
|
||||
<?php }else{ ?>
|
||||
<span class="fa-stack fa-4x">
|
||||
<i class="fa fa-circle fa-stack-2x text-secondary"></i>
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@ $sql_recent_logs = mysqli_query($mysqli,"SELECT * FROM logs
|
|||
<?php if(empty($session_avatar)){ ?>
|
||||
<i class="fas fa-user-circle fa-8x text-secondary"></i>
|
||||
<?php }else{ ?>
|
||||
<img src="<?php echo "uploads/users/$session_user_id/$session_avatar"; ?>" class="img-circle img-fluid">
|
||||
<img src="<?php echo "uploads/users/$session_user_id/$session_avatar"; ?>" class="img-fluid">
|
||||
<?php } ?>
|
||||
<h4 class="text-secondary mt-2"><?php echo $session_user_role_display; ?></h4>
|
||||
</center>
|
||||
|
|
|
|||
Loading…
Reference in New Issue