mirror of
https://akkoma.dev/AkkomaGang/akkoma-fe.git
synced 2024-11-14 12:34:46 +00:00
revert changes to render modal into portal
This commit is contained in:
parent
d69b8794b0
commit
95ad5ccaf1
2 changed files with 9 additions and 14 deletions
|
@ -120,10 +120,7 @@
|
|||
<MobilePostStatusButton />
|
||||
<UserReportingModal />
|
||||
<PostStatusModal />
|
||||
<portal-target
|
||||
name="modal"
|
||||
multiple
|
||||
/>
|
||||
<portal-target name="modal" />
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
<template>
|
||||
<portal to="modal">
|
||||
<div
|
||||
v-show="isOpen"
|
||||
v-body-scroll-lock="isOpen"
|
||||
|
@ -8,7 +7,6 @@
|
|||
>
|
||||
<slot />
|
||||
</div>
|
||||
</portal>
|
||||
</template>
|
||||
|
||||
<script src="./modal.js"></script>
|
||||
|
|
Loading…
Reference in a new issue