Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,11 @@
<PAvatar
v-if="user"
:label="$filters.getAvatar(user?.email, user?.username)"
size="xlarge"
shape="circle"
:pt="{
root: {
class: 'text-5xl font-semibold text-color-forest',
style: {
width: '120px',
height: '120px'
}
class: 'font-semibold text-color-forest'
}
}"
/>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,24 +1,25 @@
// widths, heights and font-sizes are updated with custom values from our Figma design
.p-avatar {
background-color: $avatarBg;
border-radius: $borderRadius;

&.p-avatar-lg {
width: 3rem;
height: 3rem;
font-size: 1.5rem;
width: 2.625rem;
height: 2.625rem;
font-size: 1.125rem;

.p-avatar-icon {
font-size: 1.5rem;
font-size: 1.125rem;
}
}

&.p-avatar-xl {
width: 4rem;
height: 4rem;
font-size: 2rem;
width: 7.5rem;
height: 7.5rem;
font-size: 3.214rem;

.p-avatar-icon {
font-size: 2rem;
font-size: 3.214rem;
}
}
}
Expand All @@ -27,4 +28,4 @@
.p-avatar {
border: 2px solid $panelContentBg;
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -119,3 +119,8 @@ img {
color: map-get($map: $colors, $key: grape);
font-weight: 600;
}

// Font size in avatar
.p-avatar:not(.p-avatar-lg):not(.p-avatar-xl) {
font-size: 0.857rem;
}
Original file line number Diff line number Diff line change
Expand Up @@ -61,13 +61,10 @@ SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-MerginMaps-Commercial
<PAvatar
:label="$filters.getAvatar(loggedUser.email, loggedUser.name)"
shape="circle"
size="xlarge"
:pt="{
root: {
class: 'text-5xl font-semibold text-color-forest',
style: {
width: '120px',
height: '120px'
}
class: 'font-semibold text-color-forest'
}
}"
/>
Expand Down
Loading