Skip to content

Commit a717550

Browse files
committed
Switch Profile to card.
1 parent a73494b commit a717550

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

frontend/src/pages/Settings/Profile.tsx

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,11 @@ const SettingsProfilePage: React.FC = () => {
7272
<InfoBanners />
7373
</IonHeader>
7474
<IonContent className="ion-padding">
75-
<div
75+
<IonCard
7676
className="avatar-background"
77-
style={{ backgroundImage: data?.banner_base64 ? `url(${data.banner_base64})` : undefined }}
77+
style={{
78+
backgroundImage: data?.banner_base64 ? `url(${data.banner_base64})` : undefined,
79+
}}
7880
>
7981
<div className="profile-column">
8082
<IonAvatar>
@@ -93,7 +95,7 @@ const SettingsProfilePage: React.FC = () => {
9395
<IonCardContent>{data?.profile}</IonCardContent>
9496
</IonCard>
9597
<br />
96-
</div>
98+
</IonCard>
9799
<IonList inset={true}>
98100
<IonItem color={lightMode}>
99101
<IonLabel>Registered</IonLabel>

0 commit comments

Comments
 (0)