Finetuned Umb-Sections directive to use full space

This commit is contained in:
Frans de Jong
2019-05-25 10:19:08 +02:00
parent c4ba0454fc
commit 08b386e180

View File

@@ -42,7 +42,7 @@ function sectionsDirective($timeout, $window, navigationService, treeService, se
function calculateWidth() {
$timeout(function () {
//total width minus room for avatar, search, and help icon
var windowWidth = $(window).width() - 200;
var windowWidth = $(window).width() - 150;
var sectionsWidth = 0;
scope.totalSections = scope.sections.length;
scope.maxSections = maxSections;