Fix profile pictures
This commit is contained in:
parent
9915b13a3d
commit
902711fcd5
1 changed files with 5 additions and 5 deletions
|
|
@ -6,17 +6,17 @@
|
||||||
>
|
>
|
||||||
<img
|
<img
|
||||||
v-if="user.image"
|
v-if="user.image"
|
||||||
src="user.image"
|
class="profile_image"
|
||||||
alt="`${user.name}'s profile picture`"
|
:src="user.image"
|
||||||
|
:alt="`${user.name}'s profile picture`"
|
||||||
:width="img_size"
|
:width="img_size"
|
||||||
:height="img_size"
|
:height="img_size"
|
||||||
>
|
>
|
||||||
<icon
|
<icon
|
||||||
v-else
|
v-else
|
||||||
type="notes"
|
type="notes"
|
||||||
:size="40"
|
:size="img_size"
|
||||||
:border="20"
|
:border="Math.floor(img_size / 2)"
|
||||||
:inner_size="20"
|
|
||||||
:primary="css_var('--missing-picture-foreground')"
|
:primary="css_var('--missing-picture-foreground')"
|
||||||
:background="css_var('--missing-picture-background')"
|
:background="css_var('--missing-picture-background')"
|
||||||
/>
|
/>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue