Skip to content
Snippets Groups Projects
Commit ca5f0216 authored by Julian's avatar Julian
Browse files

Fix issues in AvatarContent.vue

parent 2b21e91e
No related branches found
No related tags found
2 merge requests!1123Resolve "Finalise Vuetify app as SPA",!1066Translations update from Weblate
......@@ -2,7 +2,7 @@
<ApolloQuery
:query="require('./avatarContent.graphql')"
:variables="{'id': id}"
class="fullwidth"
class="fullsize"
>
<template #default="{ result: { error, data, loading } }">
<template v-if="loading">
......@@ -22,7 +22,9 @@
:src="data.person.image"
:alt="$t('person.avatar')"
max-width="100%"
max-height="100%"
:contain="contain"
class="fullsize"
/>
<v-icon
class="grey lighten-1"
......@@ -53,7 +55,8 @@ export default {
</script>
<style scoped>
.fullwidth {
.fullsize {
width: 100%;
height: 100%;
}
</style>
query avatarContent($id: ID) {
person: personByIdOrMe(id: $id) {
id
image: avatarContentUrl
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment