Skip to content

Commit 3352010

Browse files
committed
default image and polish
1 parent a49ac7f commit 3352010

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

lego-webapp/components/ProfileCard/ProfileCard.module.css

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
font-weight: bold;
1616
font-family: monospace;
1717
text-transform: uppercase;
18-
padding-top: var(--spacing-md);
1918
}
2019

2120
.info p {

lego-webapp/components/ProfileCard/index.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,16 +52,16 @@ export const ProfileCard = ({
5252
<p>BRUKERNAVN:</p>
5353
<h3>{username}</h3>
5454
</div>
55-
<div className={styles.groupLogo}>
56-
{primaryMembership && (
55+
{primaryMembership && (
56+
<div className={styles.groupLogo}>
5757
<CircularPicture
5858
src={primaryMembership.abakusGroup.logo!}
5959
alt={primaryMembership.abakusGroup.name}
6060
size={40}
6161
className={styles.groupLogo}
6262
/>
63-
)}
64-
</div>
63+
</div>
64+
)}
6565
</Flex>
6666
</Flex>
6767
);

lego-webapp/pages/users/@username/+Page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ const UserProfile = () => {
202202
<Icon iconNode={<QrCode />} size={19} />
203203
Vis ABA-ID
204204
</Button>
205-
<Modal>
205+
<Modal title="ABA-ID">
206206
<ProfileCard
207207
firstName={firstName}
208208
lastName={lastName}

0 commit comments

Comments
 (0)