diff options
| author | Mohammed Shekha <msh@odoo.com> | 2021-02-08 09:43:04 +0000 |
|---|---|---|
| committer | Mohammed Shekha <msh@odoo.com> | 2021-02-08 09:43:04 +0000 |
| commit | a622936ab09497086f43715e546a1b33418d0ee3 (patch) | |
| tree | be70e10c13587933b8713b9746c3deb3301bf34e /addons/web/static/src/scss | |
| parent | 5a74dc2ca8aadb7d91d9cf7c047065fee3263ece (diff) | |
[FIX] web: date options are not displayed in dropdown
before this commit: when groupby dropdown is opened and hover over date/datetime
field then it does not show options like Day, Month, Quarter, Year instead it
adds horizontal scrollbar, this issue is raised after commit: https://github.com/odoo/odoo/commit/cf351ae49875ec7d28a18747b65ed2a61f55262b
So this commit simply reverts that commit and fix the issue solved by above commit
different way.
with this commit: reverts https://github.com/odoo/odoo/commit/cf351ae49875ec7d28a18747b65ed2a61f55262b
and fix the issue solved in above commit different way.
task-2452033
closes odoo/odoo#65689
Related: odoo/enterprise#16180
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, 2 insertions, 5 deletions
diff --git a/addons/web/static/src/scss/dropdown_menu.scss b/addons/web/static/src/scss/dropdown_menu.scss index d159d009d74..d2da44a3125 100644 --- a/addons/web/static/src/scss/dropdown_menu.scss +++ b/addons/web/static/src/scss/dropdown_menu.scss @@ -4,6 +4,8 @@ } min-width: 150px; + max-height: calc(100vh - 140px); // FIXME + overflow: auto; .o_menu_item { position: relative; @@ -18,11 +20,6 @@ } } -.o_dropdown_menu, .dropdown-menu { - max-height: calc(100vh - 140px); // FIXME - overflow: auto; -} - .dropdown-item { position: relative; color: $o-main-text-color; |
