Skip to content

A platform for community discussion. Free, open, simple.

FIX: make document overflow hidden on both axis when lightbox is open (#22775)

David Battersbyd11f02c03ae8
diff --git a/app/assets/stylesheets/common/components/d-lightbox.scss b/app/assets/stylesheets/common/components/d-lightbox.scss
index 852b15bad5a..e424947f320 100644
--- a/app/assets/stylesheets/common/components/d-lightbox.scss
+++ b/app/assets/stylesheets/common/components/d-lightbox.scss
@@ -1,7 +1,7 @@
/* Main document */
html.has-lightbox {
- overflow-y: hidden;
+ overflow: hidden;
&::-webkit-scrollbar {
display: none;