refactor: Imagem vertical no mobile na leitura de história
Some checks failed
Docker Build and Push / build (push) Has been cancelled

This commit is contained in:
Lucas Santana 2025-02-08 12:02:09 -03:00
parent c53fbeb444
commit cdb98eb61d

View File

@ -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" />