fix: icon size

This commit is contained in:
Константин Уколов 2024-09-02 02:07:56 +03:00
parent 5868f6af53
commit 9a64f023b9
2 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@ defineProps<{
<template> <template>
<div class="relative flex flex-col justify-between overflow-hidden"> <div class="relative flex flex-col justify-between overflow-hidden">
<img alt="product_img" :src="`https://cake-crm.3crabs.ru${path}`"> <img class="w-full h-full" alt="product_img" :src="`https://cake-api.3crabs.ru${path}`">
<div class="flex gap-1 absolute top-3 left-3"> <div class="flex gap-1 absolute top-3 left-3">
<UBadge v-for="(label, index) in labels" :key="index" :ui="{ rounded: 'rounded-full' }" size="md"> <UBadge v-for="(label, index) in labels" :key="index" :ui="{ rounded: 'rounded-full' }" size="md">

View File

@ -16,7 +16,7 @@ const { data } = useCRMGetProduct(route.params.id as string)
<Header /> <Header />
</template> </template>
<div class="flex gap-12"> <div class="flex gap-12">
<ProductImage :path="data?.data.product?.images?.[0]" class="w-128 h-128 rounded-[20px]" :labels="data?.data.product?.labels" /> <ProductImage :path="data?.data.product?.images?.[0]" class="w-125 h-125 rounded-[20px]" :labels="data?.data.product?.labels" />
<div class="flex flex-col gap-6"> <div class="flex flex-col gap-6">
<div class="font-bold text-4xl"> <div class="font-bold text-4xl">
{{ data?.data.product?.name }} {{ data?.data.product?.name }}