FIX: make document overflow hidden on both axis when lightbox is open (#22775)
Fixes issue with scrolling background when lightbox is opened on mobile. Since we rely on swiping for navigating lightbox galleries on mobile, we want to disable document scrolling.
This commit is contained in:
parent
72bc3ae9ce
commit
d11f02c03a
|
@ -1,7 +1,7 @@
|
|||
/* Main document */
|
||||
|
||||
html.has-lightbox {
|
||||
overflow-y: hidden;
|
||||
overflow: hidden;
|
||||
|
||||
&::-webkit-scrollbar {
|
||||
display: none;
|
||||
|
|
Loading…
Reference in New Issue