#152 - updated vacation limits

This commit is contained in:
Kamil Niemczycki 2022-07-04 11:41:59 +02:00
parent e6f4d0e78c
commit 9e47c7cb28
Signed by: kamilniemczycki
GPG Key ID: 04D4E2012F969213

View File

@ -16,7 +16,7 @@
<tr> <tr>
<th <th
scope="col" scope="col"
class="py-3 px-4 text-xs font-semibold tracking-wider text-left text-gray-500 uppercase whitespace-nowrap" class="py-3 px-4 text-xs font-semibold tracking-wider text-left text-gray-500 uppercase whitespace-nowrap bg-gray-50 sticky -left-1"
> >
Imię i nazwisko Imię i nazwisko
</th> </th>
@ -52,8 +52,8 @@
:key="item.id" :key="item.id"
class="hover:bg-blumilk-25" class="hover:bg-blumilk-25"
> >
<td class="p-4 text-sm text-gray-500 whitespace-nowrap"> <td class="p-4 text-sm text-gray-500 whitespace-nowrap bg-white sticky -left-1 z-10">
<div class="flex"> <div class="flex justify-start items-center">
<span class="inline-flex justify-center items-center w-10 h-10 rounded-full"> <span class="inline-flex justify-center items-center w-10 h-10 rounded-full">
<img <img
class="w-10 h-10 rounded-full" class="w-10 h-10 rounded-full"
@ -61,10 +61,16 @@
> >
</span> </span>
<div class="ml-3"> <div class="ml-3">
<p class="text-sm font-medium text-gray-900 break-all"> <p class="flex items-start flex-col-reverse md:flex-row">
{{ item.user.name }} <span
v-for="split in item.user.name.split(' ', 2)"
:key="split"
class="first:text-xs md:first:text-sm font-medium text-gray-900 truncate first:mr-1"
>
{{ split }}
</span>
</p> </p>
<p class="text-sm text-gray-500 break-all"> <p class="hidden md:block text-sm text-gray-500 break-all">
{{ item.user.email }} {{ item.user.email }}
</p> </p>
</div> </div>