fix: make all dialogs responsive using left-4 right-4 and translate-x-0 on mobile
This commit is contained in:
@@ -52,7 +52,7 @@ export function GlobalWindSettingsModal() {
|
||||
<span className="hidden sm:inline">Parâmetros do Vento</span>
|
||||
</Button>
|
||||
</DialogTrigger>
|
||||
<DialogContent className="w-[calc(100vw-2rem)] max-w-[380px] sm:w-full sm:max-w-[500px] max-h-[85vh] overflow-y-auto p-4 sm:p-6 overflow-x-hidden">
|
||||
<DialogContent className="sm:max-w-[500px] p-4 sm:p-6">
|
||||
<DialogHeader>
|
||||
<DialogTitle>Configurações Globais</DialogTitle>
|
||||
<DialogDescription>
|
||||
|
||||
Reference in New Issue
Block a user