[FIX] web: Show scroll in report view search filter

Issue

	- Install "Accounting" module
	- Ensure there is more then 20 journals ( or
	  must do a zoom-in on the browser)
	- Go to Accounting -> Reporting -> Profit and Loss
	- Click on "Journals" filter

	Not all journals are displayed.

Cause

	No scroll or max-height set on dropdown.

Solution

	Set a max-height and an overflow:auto on `.dropdown-menu`
	and `o_dropdown_menu` css classes.

opw-2430101

closes odoo/odoo#65167

X-original-commit: cf351ae49875ec7d28a18747b65ed2a61f55262b
Signed-off-by: Aaron Bohy (aab) <aab@odoo.com>
Signed-off-by: bon-odoo <nboulif@users.noreply.github.com>
This commit is contained in:
Nasreddin (bon)
2021-01-27 17:50:09 +00:00
parent 1c1894d6d9
commit e2bca07207
@@ -4,8 +4,6 @@
}
min-width: 150px;
max-height: calc(100vh - 140px); // FIXME
overflow: auto;
.o_menu_item {
position: relative;
@@ -20,6 +18,11 @@
}
}
.o_dropdown_menu, .dropdown-menu {
max-height: calc(100vh - 140px); // FIXME
overflow: auto;
}
.dropdown-item {
position: relative;
color: $o-main-text-color;