From 72efb820c8f2e449fb6adf3a208d386a8eecb145 Mon Sep 17 00:00:00 2001 From: Elkasitu Date: Wed, 19 Jul 2017 13:09:52 +0200 Subject: [PATCH] [FIX] web: Display translate icon properly in list view In an editable list view, the translation icon would display incorrectly (out of place) for translatable char fields. This can be traced back to two reasons, compared to saas-15: - We now use tables instead of divs for list views - The translate icon would have inline css that would override its positioning with top and left attributes This is fixed by adding top and left attributes to translate buttons inside a field inside a table cell using CSS classes --- addons/web/static/src/less/list_view.less | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/web/static/src/less/list_view.less b/addons/web/static/src/less/list_view.less index a09b8e7ac0c..edb4c184408 100644 --- a/addons/web/static/src/less/list_view.less +++ b/addons/web/static/src/less/list_view.less @@ -127,7 +127,7 @@ } } > .o_field_translate { - position: absolute; + .o-position-absolute(0, 5px); width: 16px; // to have some space on the right } .o_input {