fix: image gallery height

This commit is contained in:
2025-07-18 16:13:45 +01:00
parent 4b85cae22c
commit 5c8e0094f4

View File

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