Commit caee5344 authored by Romain Courteaud's avatar Romain Courteaud

[erp5_web_renderjs_ui] Stop setting local CSS

Support will be removed with CSP
parent 3e075f4f
...@@ -83,11 +83,6 @@ ...@@ -83,11 +83,6 @@
if (field_json.css_class) { if (field_json.css_class) {
gadget_element.setAttribute("class", field_json.css_class); gadget_element.setAttribute("class", field_json.css_class);
} }
if (field_json.sandbox === "iframe") {
iframe = gadget_element.querySelector("iframe");
iframe.style.width = "100%";
iframe.style.height = "100%";
}
// Trigger render methods // Trigger render methods
gadget.props.field_gadget = field_gadget; gadget.props.field_gadget = field_gadget;
gadget.props.service_deferred.resolve(field_gadget); gadget.props.service_deferred.resolve(field_gadget);
......
...@@ -230,7 +230,7 @@ ...@@ -230,7 +230,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>948.41569.55434.38451</string> </value> <value> <string>954.58962.6524.44134</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -248,7 +248,7 @@ ...@@ -248,7 +248,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1453977502.69</float> <float>1477660162.48</float>
<string>UTC</string> <string>UTC</string>
</tuple> </tuple>
</state> </state>
......
...@@ -432,7 +432,7 @@ svg text { ...@@ -432,7 +432,7 @@ svg text {
} }
iframe { iframe {
width: 100%; width: 100%;
height: 25em; height: 50em;
background-color: white; background-color: white;
} }
img { img {
......
...@@ -236,7 +236,7 @@ ...@@ -236,7 +236,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>954.44246.45584.9130</string> </value> <value> <string>954.58960.41752.27153</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -254,7 +254,7 @@ ...@@ -254,7 +254,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1476777160.07</float> <float>1477660036.34</float>
<string>UTC</string> <string>UTC</string>
</tuple> </tuple>
</state> </state>
......
...@@ -499,7 +499,7 @@ svg { ...@@ -499,7 +499,7 @@ svg {
iframe { iframe {
width: 100%; width: 100%;
height: 25em; height: 50em;
background-color: white; background-color: white;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment