summaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
Diffstat (limited to 'components')
-rw-r--r--components/UserAvatar.vue2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/UserAvatar.vue b/components/UserAvatar.vue
index 4d45ee0..103455c 100644
--- a/components/UserAvatar.vue
+++ b/components/UserAvatar.vue
@@ -1,7 +1,7 @@
<template lang="pug">
div(v-if="data")
img.h-8.w-8.rounded-full(v-if="data.avatar" :src="baseAPI+''+data.avatar" alt="Avatar")
- span.h-8.w-8.rounded-full.bg-white.pt-1(v-else) {{ data.username[0] }}
+ span.h-8.w-8.rounded-full.bg-gray-100.text-center.pt-1.block(v-else) {{ data.username[0] }}
</template>
<script>