From 743c95d0f939455516f196ec8e8a8d4ed5b9fccc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torkel=20=C3=96degaard?= Date: Wed, 24 Sep 2014 12:45:03 +0200 Subject: [PATCH] small fix to panel menu positioning --- src/app/directives/panelMenu.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/directives/panelMenu.js b/src/app/directives/panelMenu.js index c3ed0cea458..d9932cd7bb2 100644 --- a/src/app/directives/panelMenu.js +++ b/src/app/directives/panelMenu.js @@ -51,7 +51,7 @@ function (angular, $, _) { link: function($scope, elem) { var $link = $(linkTemplate); var $panelContainer = elem.parents(".panel-container"); - var menuWidth = 246; + var menuWidth = $scope.panelMeta.menu.length === 5 ? 246 : 201; var menuScope = null; var timeout = null; var $menu = null;