From 0829bca21753dc2fc709e5d98ddc5c9999dcda4c Mon Sep 17 00:00:00 2001
From: Ayush <ayush.tiwari@nexedi.com>
Date: Mon, 28 May 2018 10:37:33 +0200
Subject: [PATCH] [erp5_web_renderjs_ui]: Size of iframe for diff gadget should
 be smaller

---
 .../web_page_module/rjs_gadget_erp5_nojqm_css.css           | 3 +++
 .../web_page_module/rjs_gadget_erp5_nojqm_css.xml           | 6 +++---
 .../portal_skins/erp5_web_renderjs_ui/erp5css.less.txt      | 5 +++++
 3 files changed, 11 insertions(+), 3 deletions(-)

diff --git a/bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_nojqm_css.css b/bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_nojqm_css.css
index ced0f04f53..c01bdd4d54 100644
--- a/bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_nojqm_css.css
+++ b/bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_nojqm_css.css
@@ -1184,6 +1184,9 @@ div[data-gadget-scope='header'] .ui-header ul {
 .gadget-content .bottom iframe {
   height: 80vh;
 }
+.gadget-content .bottom .listbox-gadget iframe {
+  height: 30vh;
+}
 .gadget-content form .ui-field-contain {
   position: relative;
 }
diff --git a/bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_nojqm_css.xml b/bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_nojqm_css.xml
index d4c78b027e..bbbda47ab3 100644
--- a/bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_nojqm_css.xml
+++ b/bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_nojqm_css.xml
@@ -242,7 +242,7 @@
             </item>
             <item>
                 <key> <string>serial</string> </key>
-                <value> <string>966.44071.41960.10069</string> </value>
+                <value> <string>968.25443.27134.59272</string> </value>
             </item>
             <item>
                 <key> <string>state</string> </key>
@@ -260,8 +260,8 @@
                     </tuple>
                     <state>
                       <tuple>
-                        <float>1523030992.07</float>
-                        <string>GMT+2</string>
+                        <float>1529663033.9</float>
+                        <string>UTC</string>
                       </tuple>
                     </state>
                   </object>
diff --git a/bt5/erp5_web_renderjs_ui/SkinTemplateItem/portal_skins/erp5_web_renderjs_ui/erp5css.less.txt b/bt5/erp5_web_renderjs_ui/SkinTemplateItem/portal_skins/erp5_web_renderjs_ui/erp5css.less.txt
index 07e7978ff7..c59fc4b776 100644
--- a/bt5/erp5_web_renderjs_ui/SkinTemplateItem/portal_skins/erp5_web_renderjs_ui/erp5css.less.txt
+++ b/bt5/erp5_web_renderjs_ui/SkinTemplateItem/portal_skins/erp5_web_renderjs_ui/erp5css.less.txt
@@ -1380,6 +1380,11 @@ div[data-gadget-scope='header'] .ui-header {
     iframe {
       height: 80vh;
     }
+    .listbox-gadget {
+      iframe {
+        height: 30vh;
+      }
+    }
   }
 
 /*
-- 
2.30.9