lock body scroll when post status modal is open

This commit is contained in:
taehoon 2019-10-17 15:43:59 -04:00
parent 051e6ea5ca
commit 776f0ef774

View file

@ -2,6 +2,7 @@
<div
v-if="isLoggedIn && !resettingForm"
v-show="modalActivated"
v-body-scroll-lock="modalActivated"
class="post-form-modal-view modal-view"
@click="closeModal"
>
@ -28,6 +29,10 @@
.post-form-modal-view {
align-items: flex-start;
body:not(.scroll-locked) & {
display: none;
}
}
.post-form-modal-panel {