[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
This commit is contained in:
Elkasitu
2017-07-19 13:45:20 +02:00
parent f889d3af82
commit 72efb820c8
+1 -1
View File
@@ -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 {