updated newsfeed note ui

This commit is contained in:
Ren Amamiya
2023-04-17 14:01:09 +07:00
parent 8b67253c0a
commit dfe5e4533e
14 changed files with 75 additions and 92 deletions

View File

@@ -4,7 +4,9 @@ import { memo } from 'react';
export const ImagePreview = memo(function ImagePreview({ url, size }: { url: string; size: string }) {
return (
<div
className={`relative h-full ${size === 'large' ? 'w-full' : 'w-2/3'} rounded-lg border border-zinc-800 xl:w-2/3`}
className={`relative h-full ${
size === 'large' ? 'w-full' : 'w-2/3'
} mt-2 rounded-lg border border-zinc-800 xl:w-2/3`}
>
<Image
src={url}