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) => {
|
export const ImageComponent: Component<{ ID: string }> = (props) => {
|
||||||
return (
|
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
|
<img
|
||||||
class="w-full object-contain rounded-xl"
|
class="w-full object-contain rounded-xl max-h-full"
|
||||||
src={`${base}/image/${props.ID}`}
|
src={`${base}/image/${props.ID}`}
|
||||||
/>
|
/>
|
||||||
</A>
|
</A>
|
||||||
|
Reference in New Issue
Block a user