Skip to content
Snippets Groups Projects
Commit ad504768 authored by Tae Hoon's avatar Tae Hoon
Browse files

lock body scroll

parent 8b321f6f
No related branches found
No related tags found
2 merge requests!1028`master` refresh with `develop`,!886Lock body scroll when lightbox is open
......@@ -4,6 +4,7 @@
:style="bgAppStyle"
>
<div
id="app_bg_wrapper"
class="app-bg-wrapper"
:style="bgStyle"
/>
......
<template>
<div
v-if="showing"
v-body-scroll-lock="showing"
class="modal-view media-modal-view"
@click.prevent="hide"
>
......@@ -43,6 +44,10 @@
.media-modal-view {
z-index: 1001;
body:not(.scroll-locked) & {
display: none;
}
&:hover {
.modal-view-button-arrow {
opacity: 0.75;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment