[FIX] web_responsive: Do not set overflow property on inline fields

Co-authored-by: Alexandre Díaz <alexandre.diaz@tecnativa.com>
Ensure that the title is displayed while the user holds the mouse click (while selecting content)
pull/1815/head
Yann Papouin 2021-02-08 11:13:10 +01:00
parent 28e8b4f38b
commit 9eb5f86510
1 changed files with 11 additions and 8 deletions

View File

@ -397,14 +397,17 @@ html .o_web_client .o_main .o_main_content {
// Support for long title (with ellipsis)
.oe_title {
span.o_field_widget {
max-width: 100%;
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
width: initial;
}
span:active {
white-space: normal;
&:not(.oe_inline) {
max-width: 100%;
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
width: initial;
&:active {
white-space: normal;
}
}
}
}