Skip to content

Commit 5e47a56

Browse files
committed
restructure chat box user header
1 parent 81a5ecf commit 5e47a56

File tree

1 file changed

+3
-5
lines changed
  • frontend/src/components/app/matches

1 file changed

+3
-5
lines changed

frontend/src/components/app/matches/Chat.vue

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,9 @@
22
<!-- eslint-disable max-len -->
33
<div class="chat md:w-full md:max-w-2xl md:shadow-md md:rounded-md md:p-4 md:flex md:flex-col md:justify-start">
44
<div class="flex items-center justify-center">
5-
<div v-if="user" class="text-center flex">
6-
<div class="flex-row">
7-
<ChatUser class="mx-auto" v-bind:match="user"></ChatUser>
8-
<h1 class="text-gray-matcha opacity-75 text-sm">{{user.first_name}}</h1>
9-
</div>
5+
<div v-if="user" class="text-center flex-row">
6+
<ChatUser class="mx-auto" v-bind:match="user"></ChatUser>
7+
<h1 class="text-gray-matcha opacity-75 text-sm">{{user.first_name}}</h1>
108
</div>
119
<div class="md:hidden absolute right-0 cursor-pointer text-lg lg:text-2xl w-10 h-10 flex items-center justify-center"
1210
v-on:click="closeChat()">

0 commit comments

Comments
 (0)