Revert "fix: image size issue"

This reverts commit 1e07ef1f84.
This commit is contained in:
DIYgod
2022-10-08 01:39:05 +01:00
parent b56a4d1075
commit 911511c8c7
+2 -7
View File
@@ -19,9 +19,7 @@ export const Image: React.FC<
return (
<span
className={
"inline-flex justify-center" + (autoSize ? " w-full h-full" : "")
}
className="inline-block w-full h-full"
style={
autoSize
? {
@@ -31,10 +29,7 @@ export const Image: React.FC<
}
>
<span
className={
"inline-flex justify-center relative" +
(autoSize ? " w-full h-full" : "")
}
className="inline-flex justify-center relative w-full h-full"
style={autoSize ? { paddingTop } : {}}
>
<NextImage