fix: styling of entity and images page

This commit is contained in:
2025-07-21 16:55:51 +01:00
parent 018f0e96d4
commit 2b1eb2b948
3 changed files with 17 additions and 20 deletions

View File

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