Merge PR #1391 into 12.0

Signed-off-by Yajo
This commit is contained in:
OCA-git-bot
2019-10-11 12:36:19 +00:00
4 changed files with 17 additions and 2 deletions

View File

@@ -16,6 +16,15 @@
transform: none !important;
}
// Support for long titles
@include media-breakpoint-up(md) {
.o_form_view .oe_button_box + .oe_title,
.o_form_view .oe_button_box + .oe_avatar + .oe_title {
/* Button-box has a hardcoded width of 132px per button and have three columns */
width: calc(100% - 450px);
}
}
// Main navbar (with apps menu, user menu, debug menu...)
@include media-breakpoint-down(sm) {
.o_main_navbar {
@@ -348,8 +357,6 @@ html .o_web_client .o_main .o_main_content {
// Support for long title (with ellipsis)
.oe_title {
width: initial;
span.o_field_widget {
max-width: 100%;
text-overflow: ellipsis;
@@ -372,6 +379,11 @@ html .o_web_client .o_main .o_main_content {
max-width: 100%;
}
.oe_button_box + .oe_title,
.oe_button_box + .oe_avatar + .oe_title {
width: 100%;
}
// Avoid overflow on modals
.o_form_sheet {
min-width: auto;