Browse Source

[IMP] web_responsive: Support long title in form view

pull/1279/merge
Alexandre Díaz 6 years ago
committed by OCA-git-bot
parent
commit
5aa9278b58
  1. 11
      web_responsive/static/src/css/web_responsive.scss

11
web_responsive/static/src/css/web_responsive.scss

@ -365,10 +365,21 @@ html .o_web_client .o_main .o_main_content {
z-index: 1; z-index: 1;
} }
// Support for long title (with ellipsis)
.oe_title { .oe_title {
width: initial;
>h1>span {
max-width: 100%; max-width: 100%;
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
width: initial; width: initial;
} }
>h1>span:active {
white-space: normal;
}
}
@include media-breakpoint-down(sm) { @include media-breakpoint-down(sm) {
min-width: auto; min-width: auto;

Loading…
Cancel
Save