diff --git a/ui/css/main.css b/ui/css/main.css index fff5f6ac9ac..9f5bc5b7966 100644 --- a/ui/css/main.css +++ b/ui/css/main.css @@ -259,6 +259,7 @@ a:hover { min-height:1000px; height:auto; background:#FFF; + overflow-y: hidden; margin:0; padding:0; @@ -1433,7 +1434,7 @@ a:hover { } .leftmenu_box { - width:220px; + width:100%; height:auto; float:left; margin:0 0 0 0; @@ -1442,7 +1443,7 @@ a:hover { } .leftmenu_list{ - width:220px; + width:100%; height:auto; float:left; margin:0; @@ -1451,7 +1452,7 @@ a:hover { } .leftmenu_expandedbox{ - width:220px; + width:100%; height:auto; float:left; position:relative; @@ -1485,7 +1486,7 @@ a:hover { } .leftmenu_content_flevel{ - width:220px; + width:100%; height:auto; float:left; color:#333; @@ -1511,7 +1512,7 @@ a:hover { } .leftmenu_content{ - width:220px; + width:100%; height:auto; float:left; color:#333; diff --git a/ui/index.jsp b/ui/index.jsp index 6dee5a060ce..fd6677c2b85 100644 --- a/ui/index.jsp +++ b/ui/index.jsp @@ -146,7 +146,7 @@
-
+
@@ -251,7 +251,7 @@
-
+
diff --git a/ui/scripts/cloud.core.init.js b/ui/scripts/cloud.core.init.js index 48e8fe220eb..ac764cf1fb2 100644 --- a/ui/scripts/cloud.core.init.js +++ b/ui/scripts/cloud.core.init.js @@ -38,6 +38,15 @@ var md5Hashed = true; $("#leftmenu_dashboard").click(); } } + + // Setup drag and slide for the main UI + $("#west_panel").resizable({ + ghost: true, + stop: function(event, ui) { + var resized = ui.size.width - 1; + $("#east_panel").attr("style", "margin-left:" + resized +"px;"); + } + }); $(".leftmenu_content_flevel").hover( function() {