From aac33afa4b45db0eccec7394f968aa643bcdebc1 Mon Sep 17 00:00:00 2001 From: Juan Fuentes <juanf@bs-mbpr465.d.ethz.ch> Date: Mon, 9 Aug 2021 16:04:09 +0200 Subject: [PATCH] SSDM-11348 : Improved way of adding parents --- .../eln-lims/html/js/views/SampleForm/widgets/LinksView.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/SampleForm/widgets/LinksView.js b/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/SampleForm/widgets/LinksView.js index 131c7d37aa8..205f1569a51 100644 --- a/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/SampleForm/widgets/LinksView.js +++ b/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/SampleForm/widgets/LinksView.js @@ -174,6 +174,10 @@ function LinksView(linksController, linksModel) { this.repaint = function($container) { var $fieldsetOwner = $("<div>"); var $legend = $("<legend>"); + $legend.css({ + 'padding-top':'5px', + 'padding-bottom':'5px' + }); var $fieldset = $("<div>"); $fieldsetOwner.append($legend).append($fieldset); @@ -191,7 +195,7 @@ function LinksView(linksController, linksModel) { $legend.append(linksModel.title).append(" ").append(addAnyBtn); //.css("margin-top", "20px").css("margin-bottom", "20px"); if(!linksModel.disableAddAnyType && profile.mainMenu.showBarcodes) { - $legend.append(linksView.getAddAnyBarcode()); + $legend.append(" ").append(linksView.getAddAnyBarcode()); } $fieldset.append($samplePicker); -- GitLab