mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-14 20:40:21 +02:00
fix inconsistent image loader aspect ratio
This commit is contained in:
@@ -107,7 +107,12 @@ const ImageContainer = forwardRef(
|
||||
);
|
||||
|
||||
function ImageLoader({ className }: ImageLoaderProps) {
|
||||
return <Skeleton className={clsx(styles.skeleton, styles.loader, className)} />;
|
||||
return (
|
||||
<Skeleton
|
||||
className={clsx(styles.skeleton, styles.loader, className)}
|
||||
containerClassName={styles.skeletonContainer}
|
||||
/>
|
||||
);
|
||||
}
|
||||
|
||||
function ImageUnloader({ className }: ImageUnloaderProps) {
|
||||
|
||||
Reference in New Issue
Block a user