[FIX] web_responsive: usable search buttons in md screens

When the screen wasn't small enough to trigger mobile mode but wasn't big enough to display properly search buttons, those got awkward.

@Tecnativa TT21728
This commit is contained in:
Jairo Llopis
2020-01-27 12:02:26 +00:00
parent 5863cec6b0
commit 378c02c7a2

View File

@@ -232,6 +232,29 @@ html .o_web_client .o_main .o_main_content {
}
// Control panel (breadcrumbs, search box, buttons...)
.o_search_options {
flex-grow: 1;
> div {
width: 100%;
> .btn-group {
max-width: 33%;
.o_dropdown_toggler_btn {
max-width: 100%;
overflow: hidden;
text-overflow: ellipsis;
}
}
}
}
.o_pager_counter {
white-space: nowrap;
}
@include media-breakpoint-down(sm) {
.o_control_panel {
// Arrange buttons to use space better