fix
This commit is contained in:
2025-07-29 15:23:33 +01:00
parent 5de5e0b56e
commit fda09ae07a
2 changed files with 4 additions and 3 deletions

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 flex justify-center">
<A href={`/image/${props.ID}`} class="w-full flex justify-center h-[300px]">
<img
class="w-full object-contain rounded-xl max-w-[700px] max-h-[400px]"
class="flex w-full object-contain rounded-xl"
src={`${base}/image/${props.ID}`}
/>
</A>