fix: image sizing

This commit is contained in:
2025-07-29 15:18:46 +01:00
parent a0bf27dd16
commit 5de5e0b56e

View File

@ -4,7 +4,7 @@ import { A } from "@solidjs/router";
export const ImageComponent: Component<{ ID: string }> = (props) => { export const ImageComponent: Component<{ ID: string }> = (props) => {
return ( return (
<A href={`/image/${props.ID}`} class="w-full h-full flex justify-center"> <A href={`/image/${props.ID}`} class="w-full flex justify-center">
<img <img
class="w-full object-contain rounded-xl max-w-[700px] max-h-[400px]" class="w-full object-contain rounded-xl max-w-[700px] max-h-[400px]"
src={`${base}/image/${props.ID}`} src={`${base}/image/${props.ID}`}