From a3489be331f306db61fa80f21af51237bdf5e6bb Mon Sep 17 00:00:00 2001 From: Nicolas Lempereur Date: Mon, 4 Mar 2019 15:14:49 +0000 Subject: [PATCH] [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) --- addons/web/static/src/scss/form_view.scss | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/addons/web/static/src/scss/form_view.scss b/addons/web/static/src/scss/form_view.scss index 0645e00544e..812e6cbd6cc 100644 --- a/addons/web/static/src/scss/form_view.scss +++ b/addons/web/static/src/scss/form_view.scss @@ -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%); } }