feat: the lesser evil
This commit is contained in:
@ -6,7 +6,7 @@ export const ImageComponent: Component<{ ID: string }> = (props) => {
|
|||||||
return (
|
return (
|
||||||
<A href={`/image/${props.ID}`} class="w-full flex justify-center h-[300px]">
|
<A href={`/image/${props.ID}`} class="w-full flex justify-center h-[300px]">
|
||||||
<img
|
<img
|
||||||
class="flex w-full object-contain rounded-xl"
|
class="flex w-full object-cover rounded-xl"
|
||||||
src={`${base}/image/${props.ID}`}
|
src={`${base}/image/${props.ID}`}
|
||||||
/>
|
/>
|
||||||
</A>
|
</A>
|
||||||
|
Reference in New Issue
Block a user