From cbafa9eddce04353d540450066c844a9c827890a Mon Sep 17 00:00:00 2001 From: David Monjoie Date: Tue, 9 Apr 2019 07:52:04 +0000 Subject: [PATCH] [FIX] web: fix many2manytags widget height in editable list view Subpixels computation is different accross browsers and platforms as no rounding rule is specified by HTML5. Difference in this computation breaks one of the editable list tests on Chrome and Firefox on MacOS. --- addons/web/static/src/scss/list_view_extra.scss | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/addons/web/static/src/scss/list_view_extra.scss b/addons/web/static/src/scss/list_view_extra.scss index 7532ec2084f..f72d6b21dd6 100644 --- a/addons/web/static/src/scss/list_view_extra.scss +++ b/addons/web/static/src/scss/list_view_extra.scss @@ -11,4 +11,10 @@ background-image: linear-gradient(to bottom, #fcfcfc, $o-form-lightsecondary); } } + // Subpixels computation is different accross browsers and platforms as no + // rounding rule is specified by HTML5. Difference in this computation + // breaks one of the editable list tests on Chrome and Firefox on MacOS. + .o_field_many2manytags { + min-height: 21px; + } }