diff --git a/javascript/gallery.js b/javascript/gallery.js index 7a561ec4c..ccf370ebc 100644 --- a/javascript/gallery.js +++ b/javascript/gallery.js @@ -161,6 +161,7 @@ class GalleryFolder extends HTMLElement { constructor(name) { super(); this.name = decodeURI(name); + this.style.overflowX = 'hidden'; this.shadow = this.attachShadow({ mode: 'open' }); this.shadow.adoptedStyleSheets = [folderStylesheet]; }