diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/App.vue | 5 | ||||
| -rw-r--r-- | src/components/modal/modal.vue | 2 |
2 files changed, 5 insertions, 2 deletions
diff --git a/src/App.vue b/src/App.vue index 33077c9c..a53bcb97 100644 --- a/src/App.vue +++ b/src/App.vue @@ -120,7 +120,10 @@ <MobilePostStatusButton /> <UserReportingModal /> <PostStatusModal /> - <portal-target name="modal" multiple /> + <portal-target + name="modal" + multiple + /> </div> </template> diff --git a/src/components/modal/modal.vue b/src/components/modal/modal.vue index e0722d65..d4fe9f76 100644 --- a/src/components/modal/modal.vue +++ b/src/components/modal/modal.vue @@ -1,8 +1,8 @@ <template> <portal to="modal"> <div - v-body-scroll-lock="isOpen" v-show="isOpen" + v-body-scroll-lock="isOpen" :class="['modal-view', viewClass]" @click.self="closeModal" > |
