From fcd91eb13b31a401c0bcc7607ed6e2fb9a06582c Mon Sep 17 00:00:00 2001 From: Aaron Ponti <aaron.ponti@bsse.ethz.ch> Date: Fri, 17 May 2019 08:35:27 +0200 Subject: [PATCH] Fix some layout glitches with file thumbnails. --- .../webapps/eln-lims/html/js/plugins/MicroscopyTechnology.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/plugins/MicroscopyTechnology.js b/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/plugins/MicroscopyTechnology.js index 83232d97754..756009811a2 100644 --- a/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/plugins/MicroscopyTechnology.js +++ b/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/plugins/MicroscopyTechnology.js @@ -174,6 +174,7 @@ $.extend(MicroscopyTechnology.prototype, ELNLIMSPlugin.prototype, { var newThumbCol = $("<div />", { class: "col-md-4", + "text-align": "center", id: sample.code }); @@ -196,6 +197,9 @@ $.extend(MicroscopyTechnology.prototype, ELNLIMSPlugin.prototype, { var thumbnailImage = $("<img />", { src: "./img/wait.png", + class: "img-responsive", + display: "inline", + "text-align": "center", id: "image_" + sample.code, title: name }); -- GitLab