@@ -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
|
||||
|
||||
Reference in New Issue
Block a user