Skip to content
This repository was archived by the owner on Sep 6, 2023. It is now read-only.

Commit 4c5ebcf

Browse files
committed
Add overflow in root tag
1 parent 9033e59 commit 4c5ebcf

File tree

1 file changed

+2
-0
lines changed
  • ggrachdev.debugbar/install/js/Utils

1 file changed

+2
-0
lines changed

ggrachdev.debugbar/install/js/Utils/DOM.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,13 @@ Ggrach.Utils.DOM = {
1212
hideOverlay: function () {
1313
Ggrach.Utils.DOM.getOverlay().style.display = 'none';
1414
document.querySelector('body').style.overflow = null;
15+
document.querySelector('html').style.overflow = null;
1516
},
1617

1718
showOverlay: function () {
1819
Ggrach.Utils.DOM.getOverlay().style.display = 'block';
1920
document.querySelector('body').setAttribute('style', 'overflow: hidden !important');
21+
document.querySelector('html').setAttribute('style', 'overflow: hidden !important');
2022
},
2123

2224
getDebugBarLogsType: function (type) {

0 commit comments

Comments
 (0)