diff options
| author | Nasreddin (bon) <bon@odoo.com> | 2021-01-21 15:28:27 +0000 |
|---|---|---|
| committer | Nasreddin (bon) <bon@odoo.com> | 2021-01-27 15:14:24 +0000 |
| commit | cf351ae49875ec7d28a18747b65ed2a61f55262b (patch) | |
| tree | 6899843dfb1796fdb69b02f54d6dfc5fdade6310 /addons/web/static/src/scss | |
| parent | b7d522e9e7e31ac6bf926aae65e58d9f6cfa8903 (diff) | |
[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#64873
Signed-off-by: Aaron Bohy (aab) <aab@odoo.com>
Diffstat (limited to 'addons/web/static/src/scss')
| -rw-r--r-- | addons/web/static/src/scss/dropdown_menu.scss | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/addons/web/static/src/scss/dropdown_menu.scss b/addons/web/static/src/scss/dropdown_menu.scss index d2da44a3125..d159d009d74 100644 --- a/addons/web/static/src/scss/dropdown_menu.scss +++ b/addons/web/static/src/scss/dropdown_menu.scss @@ -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; |
