diff options
Diffstat (limited to 'application/components/modal.vue')
-rw-r--r-- | application/components/modal.vue | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/application/components/modal.vue b/application/components/modal.vue index 2eb5bf3..1f0ca3c 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> @@ -24,4 +26,7 @@ export default { justify-content: center; align-items: center; } +.content { + display: block; +} </style>
\ No newline at end of file |