diff options
| author | qsm-odoo <qsm@odoo.com> | 2017-11-10 16:23:43 +0100 |
|---|---|---|
| committer | qsm-odoo <qsm@odoo.com> | 2017-12-21 09:52:36 +0100 |
| commit | 392c91cda3133b921e9aca9a7b1c511231027438 (patch) | |
| tree | 4ad2c3d6b3f4d68cf9ed3f16f70fde640d8429a0 /addons/web/static/src/js/views/basic/basic_renderer.js | |
| parent | 76abdd4ace726c7a46ea13e5d3ad5ff09092b682 (diff) | |
[IMP] website, *: keep top menu on one line and review alignments
* portal
When there are too many items in the top menu, the menu is broken into
multiple lines (especially on medium screen resolution). This commit
implements a system like in the enterprise backend: the extra items are
placed in a "+" dropdown menu at the end of the top menu.
Also, review the direction used to open dropdown menus. The default is
now left-to-right (while it was right-to-left before) and JS has been
added to determine the safe direction:
- If last item: to the left instead
- If would overflow the window: to the other direction instead
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_renderer.js')
0 files changed, 0 insertions, 0 deletions
