From 425b303e02e1c8341359793104704f7790d74b57 Mon Sep 17 00:00:00 2001 From: juanf <juanf> Date: Thu, 23 Mar 2017 13:20:23 +0000 Subject: [PATCH] SSDM-3501 : New way of managing margins SVN: 37938 --- .../webapps/eln-lims/html/js/controllers/MainController.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/controllers/MainController.js b/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/controllers/MainController.js index 2a566918cd8..ccdd9fa42a5 100644 --- a/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/controllers/MainController.js +++ b/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/controllers/MainController.js @@ -562,6 +562,8 @@ function MainController(profile) { // this._getBackwardsCompatibleMainContainer = function(id) { var content = $("<div>"); + content.css("margin", "10px"); + if(id) { content.attr("id", id); } @@ -581,6 +583,7 @@ function MainController(profile) { if(withHeaderOrHeaderId) { header = $("<div>"); + header.css("margin", "10px"); if((typeof withHeaderOrHeaderId === 'string' || withHeaderOrHeaderId instanceof String)) { header.attr("id", withHeaderOrHeaderId); } @@ -588,6 +591,7 @@ function MainController(profile) { if(withContentOrContentId) { content = $("<div>"); + content.css("margin", "10px"); if((typeof withContentOrContentId === 'string' || withContentOrContentId instanceof String)) { content.attr("id", withContentOrContentId); } @@ -595,6 +599,7 @@ function MainController(profile) { if(withAuxContentOrAuxContentId) { auxContent = $("<div>"); + auxContent.css("margin", "10px"); if((typeof withContentAuxOrContentAuxId === 'string' || withAuxContentOrAuxContentId instanceof String)) { auxContent.attr("id", withAuxContentOrAuxContentId); } -- GitLab