fix css for VolunteersProfilePicture
This commit is contained in:
1 parent
2dfc46ede8
commit
9ce7f1058c
2 files changed
+1
-7
No files matched your search
@@ -114,13 +114,6 @@ function ProfilePage() {
|
|||||||
<div className={styles.container}>
|
<div className={styles.container}>
|
||||||
<div className={`${styles.profileboard} glassCard`}>
|
<div className={`${styles.profileboard} glassCard`}>
|
||||||
<div className={styles.contentWrapper}>
|
<div className={styles.contentWrapper}>
|
||||||
{/*<div className={styles.profilePictureContainer}>
|
|
||||||
<img
|
|
||||||
src={isOwnProfile ? (profilePicture || "/react.svg") : "/react.svg"}
|
|
||||||
alt="Photo de profil"
|
|
||||||
className={styles.profilePicture}
|
|
||||||
/>
|
|
||||||
</div>*/}
|
|
||||||
<div className={styles.profilePictureContainer} onClick={isOwnProfile ? handleEditPictureClick : undefined} style={isOwnProfile ? { cursor: "pointer" } : {}}>
|
<div className={styles.profilePictureContainer} onClick={isOwnProfile ? handleEditPictureClick : undefined} style={isOwnProfile ? { cursor: "pointer" } : {}}>
|
||||||
<img
|
<img
|
||||||
src={isOwnProfile ? (profilePicture || "/react.svg") : "/react.svg"}
|
src={isOwnProfile ? (profilePicture || "/react.svg") : "/react.svg"}
|
||||||
|
|||||||
@@ -44,4 +44,5 @@
|
|||||||
width: 40px;
|
width: 40px;
|
||||||
height: 40px;
|
height: 40px;
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
|
object-fit: contain;
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user