mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-04-14 11:36:45 +00:00
Avatar Component: fix pet position (#15414)
This commit is contained in:
parent
11a22d0f5d
commit
01881b2fd8
3 changed files with 6 additions and 2 deletions
|
|
@ -203,11 +203,11 @@ export default {
|
|||
},
|
||||
width: {
|
||||
type: String,
|
||||
default: '140px',
|
||||
default: '141px',
|
||||
},
|
||||
height: {
|
||||
type: String,
|
||||
default: undefined,
|
||||
default: '147px',
|
||||
},
|
||||
centerAvatar: {
|
||||
type: Boolean,
|
||||
|
|
|
|||
|
|
@ -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'"
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Reference in a new issue