aboutsummaryrefslogtreecommitdiffhomepage
path: root/application/components/modal.vue
diff options
context:
space:
mode:
Diffstat (limited to 'application/components/modal.vue')
-rw-r--r--application/components/modal.vue7
1 files changed, 6 insertions, 1 deletions
diff --git a/application/components/modal.vue b/application/components/modal.vue
index 96c106e..65d10f2 100644
--- a/application/components/modal.vue
+++ b/application/components/modal.vue
@@ -8,7 +8,9 @@ export default {
<template>
<teleport to="body">
<div class="wrapper">
- <slot />
+ <div class="content">
+ <slot />
+ </div>
</div>
</teleport>
</template>
@@ -26,4 +28,7 @@ export default {
justify-content: center;
align-items: center;
}
+.content {
+ display: block;
+}
</style> \ No newline at end of file