diff --git a/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/controllers/LayoutManager.js b/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/controllers/LayoutManager.js index ecd10d594815b26b4aabcf0bf62f9b6079fb1f51..6149538fb3f5b91ff16ba8c18e7736b778219a11 100644 --- a/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/controllers/LayoutManager.js +++ b/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/controllers/LayoutManager.js @@ -2,6 +2,7 @@ // Requires Jquery, Jquery UI and Bootstrap var LayoutManager = { + MIN_HEADER_HEIGHT : 120, body : null, mainContainer : null, firstColumn : null, @@ -185,11 +186,12 @@ var LayoutManager = { if (view.header) { - headerHeight = 157; + headerHeight = this.MIN_HEADER_HEIGHT; this.secondColumnHeader.append(view.header); this.secondColumnHeader.css({ display : "block", - height : headerHeight + "min-height" : headerHeight, + "height" : "auto" }); } else { this.secondColumnHeader.css({ display : "none" }); @@ -241,11 +243,12 @@ var LayoutManager = { }); if (view.header) { - headerHeight = 157; + headerHeight = this.MIN_HEADER_HEIGHT; this.secondColumnHeader.append(view.header); this.secondColumnHeader.css({ display : "block", - height : headerHeight + "min-height" : headerHeight, + "height" : "auto" }); } else { this.secondColumnHeader.css({ display : "none" }); @@ -305,7 +308,10 @@ var LayoutManager = { } if (view.header) { - view.header.css("height", "auto"); + view.header.css({ + "min-height" : this.MIN_HEADER_HEIGHT, + "height" : "auto" + }); this.firstColumn.append(view.header); }