mirror of
https://github.com/lucasrcsantana/story-generator.git
synced 2025-12-16 21:37:51 +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);
|
||||
|
||||
return (
|
||||
<div className="relative aspect-video bg-gray-100">
|
||||
<div className="relative bg-gray-100 aspect-[9/16] md:aspect-video">
|
||||
{isLoading && (
|
||||
<div className="absolute inset-0 flex items-center justify-center">
|
||||
<Loader2 className="w-8 h-8 text-purple-600 animate-spin" />
|
||||
|
||||
Loading…
Reference in New Issue
Block a user