chore: Update translations
This commit is contained in:
@ -43,7 +43,10 @@ const ImageElement = ({ url, meta, onMediaClick }: ImageElementProps) => {
|
|||||||
}, [imageRef.current, meta]);
|
}, [imageRef.current, meta]);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className={classNames("flex items-center -mx-4 md:mx-0 my-2", { "md:h-[510px]": !meta && !CONFIG.media.preferLargeMedia })}>
|
<div
|
||||||
|
className={classNames("flex items-center -mx-4 md:mx-0 my-2", {
|
||||||
|
"md:h-[510px]": !meta && !CONFIG.media.preferLargeMedia,
|
||||||
|
})}>
|
||||||
<ProxyImg
|
<ProxyImg
|
||||||
key={url}
|
key={url}
|
||||||
src={url}
|
src={url}
|
||||||
@ -77,7 +80,11 @@ const VideoElement = ({ url }: VideoElementProps) => {
|
|||||||
}, [inView]);
|
}, [inView]);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div ref={videoContainerRef} className={classNames("flex justify-center items-center -mx-4 md:mx-0 my-2", { "md:h-[510px]": !CONFIG.media.preferLargeMedia })}>
|
<div
|
||||||
|
ref={videoContainerRef}
|
||||||
|
className={classNames("flex justify-center items-center -mx-4 md:mx-0 my-2", {
|
||||||
|
"md:h-[510px]": !CONFIG.media.preferLargeMedia,
|
||||||
|
})}>
|
||||||
<video
|
<video
|
||||||
ref={videoRef}
|
ref={videoRef}
|
||||||
loop={true}
|
loop={true}
|
||||||
|
Reference in New Issue
Block a user