From 9f1d91968e64b15b75eb32c4fb6e8e2076f2a979 Mon Sep 17 00:00:00 2001
From: pkupczyk <piotr.kupczyk@id.ethz.ch>
Date: Fri, 18 Feb 2022 12:20:30 +0100
Subject: [PATCH] SSDM-12218 : ELN : Tables Improvements for Rich Text Content
 - make the popup content scrollable

---
 .../eln-lims/1/as/webapps/eln-lims/html/js/util/FormUtil.js    | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/util/FormUtil.js b/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/util/FormUtil.js
index ba5686fae40..e22c9a99219 100644
--- a/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/util/FormUtil.js
+++ b/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/util/FormUtil.js
@@ -2382,7 +2382,8 @@ var FormUtil = new function() {
                 trackerInterval: 100,
                 theme: 'tooltipster-shadow',
                 functionBefore: function(instance, helper){
-                    $(helper.origin).tooltipster('content', renderTooltip())
+                    var $content = $("<div>").css({ "max-width" : "50vw", "max-height" : "50vh"}).append(renderTooltip())
+                    $(helper.origin).tooltipster('content', $content)
                     return true
                 }
             })
-- 
GitLab