Set class to image widget

issue10562
review369251002
This commit is contained in:
Cédric Krier committed 2021-07-12 22:59:06 +02:00
1 parent 3e758d18aa
commit 11077936bd
2 files changed
+1 -7

No files matched your search

-6
View File
@@ -692,12 +692,6 @@ img.icon {
margin-bottom: 5px;
}
}
.form-image_ {
img {
width: 4em;
height: 4em;
}
}
.form-document {
object {
object-fit: scale-down;
+1 -1
View File
@@ -1069,7 +1069,7 @@ function eval_pyson(value){
init: function(attributes) {
Sao.View.Form.Image_._super.init.call(this, attributes);
this.el = jQuery('<div/>', {
'class_': this.class_
'class': this.class_
});
this.img = jQuery('<img/>', {
'class': 'center-block',