[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)
This commit is contained in:
Yann Papouin
2021-02-08 14:30:27 +01:00
committed by Sergey Shebanin
parent f0b6b56352
commit be736d4d18
2 changed files with 12 additions and 9 deletions

View File

@@ -459,14 +459,17 @@ html .o_web_client .o_action_manager .o_action {
// 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;
}
}
}
}