mirror of
https://github.com/web3privacy/explorer-app.git
synced 2024-10-15 16:46:26 +02:00
feat: fix images
This commit is contained in:
parent
963ff423ec
commit
8fb71da08e
1 changed files with 3 additions and 1 deletions
|
@ -14,7 +14,9 @@ const { switcher } = storeToRefs(useData())
|
||||||
flex w-full gap-16px hover:bg="#121212" transition-all
|
flex w-full gap-16px hover:bg="#121212" transition-all
|
||||||
>
|
>
|
||||||
<div relative max-w="96px lg:200px" w-full h="96px lg:200px" :class="switcher ? '' : 'lg:max-w-full! lg:w-full '">
|
<div relative max-w="96px lg:200px" w-full h="96px lg:200px" :class="switcher ? '' : 'lg:max-w-full! lg:w-full '">
|
||||||
<NuxtImg :src="project?.image || '/no-image-1-1.svg'" class="w-full h-full" z-10 object-cover />
|
<div flex items-center justify-center w-full my-auto h-full>
|
||||||
|
<NuxtImg :src="project?.image || '/no-image-1-1.svg'" class="w-full h-auto" max-h="md:196px 96px" self-center z-10 object-fit bg="#121212" />
|
||||||
|
</div>
|
||||||
<ClientOnly>
|
<ClientOnly>
|
||||||
<Badge
|
<Badge
|
||||||
v-if="project.percentage"
|
v-if="project.percentage"
|
||||||
|
|
Loading…
Reference in a new issue