Fix: Envolver contenido del modal en slot #body
All checks were successful
build-and-deploy / build-and-deploy (push) Successful in 50s
All checks were successful
build-and-deploy / build-and-deploy (push) Successful in 50s
- El contenido debe estar dentro de <template #body> para renderizarse correctamente - Según Modal.vue, el body solo se renderiza si existe el slot #body - Quitar padding del div interno ya que el modal ya tiene padding en el body - Ahora el contenido aparecerá dentro del modal correctamente
This commit is contained in:
@@ -45,7 +45,8 @@
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<div v-if="currentResult" class="space-y-3 p-4">
|
||||
<template #body>
|
||||
<div v-if="currentResult" class="space-y-3">
|
||||
<div class="flex flex-wrap gap-4 text-sm">
|
||||
<div>
|
||||
<span class="font-medium text-gray-500 dark:text-gray-400">Filas:</span>
|
||||
@@ -85,8 +86,9 @@
|
||||
color="red"
|
||||
variant="soft"
|
||||
:title="currentError"
|
||||
class="m-4"
|
||||
class="mt-4"
|
||||
/>
|
||||
</template>
|
||||
</UModal>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user