Avatar Component: fix pet position (#15414)

This commit is contained in:
negue
2025-03-21 20:55:32 +01:00
committed by GitHub
parent 11a22d0f5d
commit 01881b2fd8
3 changed files with 6 additions and 2 deletions

View File

@@ -203,11 +203,11 @@ export default {
},
width: {
type: String,
default: '140px',
default: '141px',
},
height: {
type: String,
default: undefined,
default: '147px',
},
centerAvatar: {
type: Boolean,

View File

@@ -31,6 +31,7 @@
<avatar
v-if="user._id !== msg.uuid && msg.uuid !== 'system'"
class="avatar-left"
:height="null"
:class="{ invisible: avatarUnavailable(msg) }"
:member="msg.userStyles || cachedProfileData[msg.uuid] || {}"
:avatar-only="true"
@@ -50,6 +51,7 @@
v-if="user._id === msg.uuid"
:class="{ invisible: avatarUnavailable(msg) }"
:member="msg.userStyles || cachedProfileData[msg.uuid] || {}"
:height="null"
:avatar-only="true"
:hide-class-badge="true"
:override-top-padding="'14px'"

View File

@@ -41,6 +41,7 @@
:avatar-only="true"
:show-weapon="true"
:debug-mode="false"
:height="null"
:override-top-padding="'0'"
:hide-class-badge="true"
@click.native="showMemberModal(msg.uuid)"
@@ -59,6 +60,7 @@
v-if="user && user._id === msg.uuid"
class="avatar-right"
:member="user"
:height="null"
:avatar-only="true"
:show-weapon="true"
:debug-mode="false"