fix: image gallery height
This commit is contained in:
@ -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>
|
||||
|
Reference in New Issue
Block a user