diff --git a/webapp/titanembeds/static/css/embed.css b/webapp/titanembeds/static/css/embed.css index b429da7..d8b4b12 100644 --- a/webapp/titanembeds/static/css/embed.css +++ b/webapp/titanembeds/static/css/embed.css @@ -56,6 +56,10 @@ body, #overall-main-content { overflow-y: hidden; } +body.custom-scrollbars main { + overflow: hidden; +} + main { overflow-y: scroll; min-height: calc(100vh - 80px); diff --git a/webapp/titanembeds/static/js/embed.js b/webapp/titanembeds/static/js/embed.js index 2129d4a..e399fef 100644 --- a/webapp/titanembeds/static/js/embed.js +++ b/webapp/titanembeds/static/js/embed.js @@ -368,6 +368,7 @@ autoHideScrollbar: !showScrollbar, theme: scrollbarTheme }); + $("body").addClass("custom-scrollbars"); } if (disabled) {