forked from AkkomaGang/akkoma-fe
Misc fixes: Fix uploads stretching on chrome, fix warnings in console
This commit is contained in:
parent
ac46de3972
commit
76efbcbe92
3 changed files with 8 additions and 1 deletions
|
@ -68,6 +68,7 @@
|
||||||
max-height: 200px;
|
max-height: 200px;
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
video {
|
video {
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,11 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="avatars">
|
<div class="avatars">
|
||||||
<router-link :to="userProfileLink(user)" class="avatars-item" v-for="user in slicedUsers">
|
<router-link
|
||||||
|
:to="userProfileLink(user)"
|
||||||
|
class="avatars-item"
|
||||||
|
v-for="user in slicedUsers"
|
||||||
|
:key="user.id"
|
||||||
|
>
|
||||||
<UserAvatar :user="user" class="avatar-small" />
|
<UserAvatar :user="user" class="avatar-small" />
|
||||||
</router-link>
|
</router-link>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -139,6 +139,7 @@ const conversation = {
|
||||||
return (this.isExpanded) && id === this.status.id
|
return (this.isExpanded) && id === this.status.id
|
||||||
},
|
},
|
||||||
setHighlight (id) {
|
setHighlight (id) {
|
||||||
|
if (!id) return
|
||||||
this.highlight = id
|
this.highlight = id
|
||||||
this.$store.dispatch('fetchFavsAndRepeats', id)
|
this.$store.dispatch('fetchFavsAndRepeats', id)
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue