diff --git a/addons/web/static/src/css/base.css b/addons/web/static/src/css/base.css index ac04fb4d1e1..02c9db98eb5 100644 --- a/addons/web/static/src/css/base.css +++ b/addons/web/static/src/css/base.css @@ -2243,6 +2243,14 @@ .openerp .oe_form .oe_form_field_image:hover .oe_form_field_image_controls { display: block; } +.openerp .oe_form .oe_form_field_image_small img { + max-width: 50px; + max-height: 50px; +} +.openerp .oe_form .oe_form_field_image_medium img { + max-width: 180px; + max-height: 180px; +} .openerp .oe_form_field_many2one td:first-child { position: relative; } diff --git a/addons/web/static/src/css/base.sass b/addons/web/static/src/css/base.sass index 2698787c5a3..58d24152b0e 100644 --- a/addons/web/static/src/css/base.sass +++ b/addons/web/static/src/css/base.sass @@ -1737,6 +1737,14 @@ $sheet-max-width: 860px @include box-sizing(border) &:hover .oe_form_field_image_controls display: block + .oe_form_field_image_small + img + max-width: 50px + max-height: 50px + .oe_form_field_image_medium + img + max-width: 180px + max-height: 180px // }}} // FormView.many2one {{{ .oe_form_field_many2one