[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/1819/head
Yann Papouin 2021-02-08 14:30:27 +01:00 committed by Splash
parent a73a4081fc
commit 66ae11195f
2 changed files with 12 additions and 9 deletions

View File

@ -6,7 +6,7 @@
{
"name": "Web Responsive",
"summary": "Responsive web client, community-supported",
"version": "13.0.2.6.1",
"version": "13.0.2.6.2",
"category": "Website",
"website": "https://github.com/OCA/web",
"author": "LasLabs, Tecnativa, " "Odoo Community Association (OCA)",

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;
}
}
}
}