Procházet zdrojové kódy

HUE-5546 [responsive] Avoid horizontal scrolling on the editor

Enrico Berti před 9 roky
rodič
revize
2f918e8

+ 1 - 0
desktop/core/src/desktop/static/desktop/css/responsive.css

@@ -301,6 +301,7 @@ body {
   -ms-flex: 1;
   flex: 1;
   position: relative;
+  overflow-x: hidden!important;
 }
 
 .page-content .content-panel {

+ 1 - 1
desktop/core/src/desktop/static/desktop/js/ko.hue-bindings.js

@@ -4544,7 +4544,7 @@
           mousescrollstep: 60,
           scrollspeed: 1,
           cursorminheight: options.cursorminheight || 20,
-          horizrailenabled: options.horizrailenabled || true
+          horizrailenabled: typeof options.horizrailenabled !== 'undefined' ? options.horizrailenabled : true
         });
         $(element).addClass('nicescrollified');
       }