mirror of
https://github.com/lucasrcsantana/story-generator.git
synced 2025-12-17 22:07:52 +00:00
refactor: Imagem vertical no mobile na leitura de história
Some checks failed
Docker Build and Push / build (push) Has been cancelled
Some checks failed
Docker Build and Push / build (push) Has been cancelled
This commit is contained in:
parent
c53fbeb444
commit
cdb98eb61d
@ -355,7 +355,7 @@ function ImageWithLoading({ src, alt, className }: { src: string; alt: string; c
|
|||||||
const [error, setError] = useState(false);
|
const [error, setError] = useState(false);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="relative aspect-video bg-gray-100">
|
<div className="relative bg-gray-100 aspect-[9/16] md:aspect-video">
|
||||||
{isLoading && (
|
{isLoading && (
|
||||||
<div className="absolute inset-0 flex items-center justify-center">
|
<div className="absolute inset-0 flex items-center justify-center">
|
||||||
<Loader2 className="w-8 h-8 text-purple-600 animate-spin" />
|
<Loader2 className="w-8 h-8 text-purple-600 animate-spin" />
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user