forked from Mirrors/elk
Compare commits
4 commits
main
...
fix/avatar
Author | SHA1 | Date | |
---|---|---|---|
|
30a4bed80f | ||
|
0b921da092 | ||
|
42ca3a1967 | ||
|
5d1b62e219 |
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ defineProps<{
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div :key="account.avatar" v-bind="$attrs" :style="{ 'clip-path': square ? `url(#avatar-mask)` : 'none' }" :class="{ 'rounded-full': !square }" bg-base w-54px h-54px flex items-center justify-center>
|
<div :key="account.avatar" v-bind="$attrs" :style="{ 'clip-path': square ? `url(#avatar-mask)` : 'none' }" :class="{ 'rounded-full bg-base': !square }" w-54px h-54px flex items-center justify-center>
|
||||||
<AccountAvatar :account="account" w-48px h-48px :square="square" />
|
<AccountAvatar :account="account" w-48px h-48px :square="square" />
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
Loading…
Reference in a new issue