fix(ui): modais responsivos — 96×98 em desktop, tela cheia em mobile

This commit is contained in:
VPS 4 Builder
2026-05-14 17:22:41 +02:00
parent df5c4bacb8
commit 173c1c777e
9 changed files with 52 additions and 52 deletions
+2 -2
View File
@@ -320,8 +320,8 @@ export const ReceitaModal: React.FC<{ paciente: Paciente; onClose: () => void }>
});
return (
<div className="fixed inset-0 bg-black/50 z-50 flex items-center justify-center backdrop-blur-sm p-3">
<div className="bg-white rounded-2xl shadow-2xl w-full max-w-3xl h-[85vh] flex flex-col overflow-hidden animate-in fade-in zoom-in-95 duration-200">
<div className="fixed inset-0 bg-black/50 z-50 flex items-center justify-center backdrop-blur-sm p-0">
<div className="bg-white shadow-2xl w-full h-dvh md:w-[96vw] md:h-[98vh] rounded-none md:rounded-2xl flex flex-col overflow-hidden animate-in fade-in zoom-in-95 duration-200">
{view === 'lista' && (
<>