[WIP] Фикс размеров аватара клиента

This commit is contained in:
megavrilinvv
2022-12-01 17:01:26 +03:00
parent cf9678e2b7
commit ab917b6541
5 changed files with 9 additions and 9 deletions

View File

@@ -3,7 +3,7 @@
.header.flex.items-center.justify-between.py-2.px-6.top-0
.flex.items-center
base-avatar.mr-2(:size="32", :color="ownerData.color")
img.h-full(
img.h-full.object-cover(
:src="url + ownerData.avatar",
alt="Team member",
v-if="ownerData.avatar"

View File

@@ -3,7 +3,7 @@
base-button.mb-2(left-icon="icon-plus", rounded, :size="24", :icon-left-size="10", secondary)
.team-card(v-for="teammate in teamData" :key="teammate.id")
base-avatar(:size="32", :color="teammate.color")
img.h-full(:src="url + teammate.photo", alt="Team member", v-if="teammate.photo")
img.h-full.object-cover(:src="url + teammate.photo", alt="Team member", v-if="teammate.photo")
span(v-if="!teammate.photo") {{`${teammate.last_name[0]}${teammate.first_name[0]}`}}
.flex.flex-col.gap-y-4.w-full(v-else, :style="{ color: 'var(--font-dark-blue-color)' }")
.flex.items-center.justify-between
@@ -16,7 +16,7 @@
)
.flex.items-center
base-avatar(:size="32", :color="teammate.color")
img.h-full(:src="url + teammate.photo", alt="Team member", v-if="teammate.photo")
img.h-full.object-cover(:src="url + teammate.photo", alt="Team member", v-if="teammate.photo")
span(v-if="!teammate.photo") {{`${teammate.last_name[0]}${teammate.first_name[0]}`}}
.flex.ml-2.not-italic.font-medium.text-xxs {{ changeName(teammate.last_name, teammate.first_name, teammate.patronymic) }}
span.icon-change-place.cursor-pointer.w-5.flex.items-center.justify-center.w-6.h-6