summaryrefslogtreecommitdiff
path: root/addons/web/static/src
diff options
context:
space:
mode:
authorauyeung112002 <auyeung112002@gmail.com>2017-11-28 12:05:29 +0800
committerChristophe Matthieu <chm@odoo.com>2017-12-13 11:35:48 +0100
commitd847a664157738fe896dc5636977489f2da2a7ff (patch)
tree713841a7a2d88c8c15174eb551f940735a895136 /addons/web/static/src
parentb3be0b75764d6a0c45097f72cf9d38a459969646 (diff)
[FIX] web: Make search view dropdown menu scrollable
Diffstat (limited to 'addons/web/static/src')
-rw-r--r--addons/web/static/src/less/search_view.less9
1 files changed, 9 insertions, 0 deletions
diff --git a/addons/web/static/src/less/search_view.less b/addons/web/static/src/less/search_view.less
index a34905cb929..c50cd58be83 100644
--- a/addons/web/static/src/less/search_view.less
+++ b/addons/web/static/src/less/search_view.less
@@ -139,6 +139,9 @@
// Filters
.o_filters_menu {
.o-selected-li;
+
+ max-height: ~"calc(100vh - 125px)";
+ overflow: auto;
.o_filter_condition {
.o-search-options-dropdown-custom-li;
@@ -175,6 +178,9 @@
// Group By
.o_group_by_menu {
.o-selected-li;
+
+ max-height: ~"calc(100vh - 125px)";
+ overflow: auto;
.divider {display: none;} // hide the divider by default (no group)
.o_add_group { // add button
@@ -186,6 +192,9 @@
// Favorites
.o_favorites_menu {
.o-selected-li;
+
+ max-height: ~"calc(100vh - 125px)";
+ overflow: auto;
.divider {display: none;} // hide the divider by default (no favorite)
.o-searchview-custom-private, .o-searchview-custom-public {