Merge PR #1815 into 12.0

Signed-off-by pedrobaeza
pull/1831/head
OCA-git-bot 2021-02-08 12:44:57 +00:00
commit eb49e659d8
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) // Support for long title (with ellipsis)
.oe_title { .oe_title {
span.o_field_widget { span.o_field_widget {
max-width: 100%; &:not(.oe_inline) {
text-overflow: ellipsis; max-width: 100%;
white-space: nowrap; text-overflow: ellipsis;
overflow: hidden; white-space: nowrap;
width: initial; overflow: hidden;
} width: initial;
span:active {
white-space: normal; &:active {
white-space: normal;
}
}
} }
} }