From 0cd059d6318276376236be13438133a285478f3c Mon Sep 17 00:00:00 2001
From: Santo Cariotti <santo@dcariotti.me>
Date: Sun, 18 Sep 2022 19:16:12 +0200
Subject: Fix avatar without image

---
 components/UserAvatar.vue | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'components/UserAvatar.vue')

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>
-- 
cgit v1.2.3-18-g5258

