lock body scroll when post status modal is open
This commit is contained in:
parent
051e6ea5ca
commit
776f0ef774
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue