Эх сурвалжийг харах

[spark] Expand right panel when the left one is hidden

Johan Ahlen 10 жил өмнө
parent
commit
f2d128a

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

@@ -663,6 +663,7 @@ ko.bindingHandlers.splitDraggable = {
     var positionPanels = function () {
       if (ko.isObservable(options.leftPanelVisible) && ! options.leftPanelVisible()) {
         $rightPanel.css("width", "100%");
+        $rightPanel.css("left", "0");
       } else {
         var totalWidth = $container.width();
         var leftPanelWidth = Math.round(totalWidth * leftPanelRatio);