Skip to content

Commit

Permalink
[FIX] web_responsive: usable search buttons in md screens
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Jairo Llopis committed Jan 27, 2020
1 parent 5863cec commit 378c02c
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions web_responsive/static/src/css/web_responsive.scss
Expand Up @@ -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
Expand Down

0 comments on commit 378c02c

Please sign in to comment.