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 @@
if (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
gadget.props.field_gadget = field_gadget;
gadget.props.service_deferred.resolve(field_gadget);
......
......@@ -230,7 +230,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>948.41569.55434.38451</string> </value>
<value> <string>954.58962.6524.44134</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -248,7 +248,7 @@
</tuple>
<state>
<tuple>
<float>1453977502.69</float>
<float>1477660162.48</float>
<string>UTC</string>
</tuple>
</state>
......
......@@ -432,7 +432,7 @@ svg text {
}
iframe {
width: 100%;
height: 25em;
height: 50em;
background-color: white;
}
img {
......
......@@ -236,7 +236,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>954.44246.45584.9130</string> </value>
<value> <string>954.58960.41752.27153</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -254,7 +254,7 @@
</tuple>
<state>
<tuple>
<float>1476777160.07</float>
<float>1477660036.34</float>
<string>UTC</string>
</tuple>
</state>
......
......@@ -499,7 +499,7 @@ svg {
iframe {
width: 100%;
height: 25em;
height: 50em;
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