diff --git a/src/components/ProfilePictureTemplate.vue b/src/components/ProfilePictureTemplate.vue index a6f5884..f81a7f6 100644 --- a/src/components/ProfilePictureTemplate.vue +++ b/src/components/ProfilePictureTemplate.vue @@ -13,17 +13,20 @@ '20px'}` " /> -
@@ -76,6 +79,7 @@ export default { }, statusColor() { let status = this.status; + if (status === undefined) return undefined; return { statusName: statuses[parseInt(status)].name, statusURL: statuses[parseInt(status)].url, @@ -101,9 +105,7 @@ export default { background-color: rgba(0, 0, 0, 0.315); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); border-radius: 50%; - background-position: center; - background-size: cover; - background-repeat: no-repeat; + object-fit: cover; display: flex; transition: 0.2s; backface-visibility: hidden; diff --git a/src/components/app/ServerList.vue b/src/components/app/ServerList.vue index 8e33f8d..4de6193 100644 --- a/src/components/app/ServerList.vue +++ b/src/components/app/ServerList.vue @@ -10,15 +10,13 @@ :class="{ extendBanner: server && server.banner }" v-if="selectedServerID" > -