[FIX] web: have link over whole many2one

The style of a link (color) of a many2one is only applied over the
first line (probably for eg. the partner on an invoice that has the
partner name and on following lines the address).

In some instance this make some sense, but on other (the name of a
product is too long from where it is) it makes no sense and seems buggy.

With this change, we have the link style over the whole link which seems
good enough.

opw-1947113
closes #31568

Signed-off-by: Aaron Bohy (aab) <aab@odoo.com>
This commit is contained in:
Nicolas Lempereur
2019-03-05 12:30:48 +00:00
parent 5a81d88837
commit a3489be331
+2 -8
View File
@@ -81,16 +81,10 @@
.o_form_uri {
display: inline-block;
color: $link-color;
color: $o-main-text-color;
&:first-line {
color: $link-color;
}
&:hover {
color: darken($o-main-text-color, 1%); // hack required on chrome
&:first-line {
color: darken($link-color, 15%);
}
color: darken($link-color, 15%);
}
}