fix: 🐛 Layout fixes, make CW composing work

This commit is contained in:
Jesse Wierzbinski 2024-05-12 17:19:53 -10:00
parent a41aa3b91d
commit f90a43909b
No known key found for this signature in database
6 changed files with 17 additions and 17 deletions

View file

@ -1,7 +1,7 @@
<template>
<div v-bind="$props" class="bg-dark-700 overflow-hidden flex items-center justify-center">
<Skeleton :enabled="!url" class="!h-full !w-full">
<img class="cursor-pointer bg-dark-700 ring-1 w-full h-full object-cover" :src="url" :alt="alt"
<Skeleton :enabled="!src" class="!h-full !w-full">
<img class="cursor-pointer bg-dark-700 ring-1 w-full h-full object-cover" :src="src" :alt="alt"
:title="alt" />
</Skeleton>
</div>
@ -11,7 +11,7 @@
import type { HTMLAttributes } from "vue";
interface Props extends /* @vue-ignore */ HTMLAttributes {
url?: string;
src?: string;
alt?: string;
}