mirror of
https://github.com/smolgrrr/TAO.git
synced 2024-09-20 01:11:25 +00:00
restrict media height
This commit is contained in:
parent
e8f603b4bc
commit
bbabbc7a5b
@ -93,7 +93,7 @@ const RenderMedia = ({ files }: { files: string[] }) => {
|
||||
key={index}
|
||||
alt="Invalid thread"
|
||||
loading="lazy"
|
||||
className={`thumb mt-2 max-w-64 min-h-64 mx-auto rounded-md`}
|
||||
className={`thumb mt-2 max-h-64 mx-auto rounded-md`}
|
||||
src={file}
|
||||
onClick={isFromAllowedDomain ? undefined : toggleBlur} // Only add onClick if blur is applied
|
||||
/>
|
||||
|
Loading…
Reference in New Issue
Block a user