mirror of https://github.com/OCA/web.git
[IMP] web_responsive: Support long title in form view
parent
1ed738749d
commit
b0e260c413
|
@ -365,9 +365,20 @@ 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 {
|
||||||
max-width: 100%;
|
|
||||||
width: initial;
|
width: initial;
|
||||||
|
|
||||||
|
>h1>span {
|
||||||
|
max-width: 100%;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
white-space: nowrap;
|
||||||
|
overflow: hidden;
|
||||||
|
width: initial;
|
||||||
|
}
|
||||||
|
>h1>span:active {
|
||||||
|
white-space: normal;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@include media-breakpoint-down(sm) {
|
@include media-breakpoint-down(sm) {
|
||||||
|
|
Loading…
Reference in New Issue