diff options
| author | qsm-odoo <qsm@odoo.com> | 2018-01-10 13:03:22 +0100 |
|---|---|---|
| committer | qsm-odoo <qsm@odoo.com> | 2018-01-10 17:59:38 +0100 |
| commit | 61bb46c82ba8113dddc0a95bd86cb029fbbf110e (patch) | |
| tree | b576cd6233c7a66249eb93a082d8e9b547efe011 /addons/website/static/src/less | |
| parent | 4fc0079f5f57bbbc272a8963b0691c852599d9be (diff) | |
[FIX] website, *: auto-fold menu review
* portal
Review https://github.com/odoo/odoo/commit/392c91cda3133b921e9aca9a7b1c511231027438
- Some elements should not be folded in the "+" dropdown, like the login
button and related stuff
- Using pull-right instead of navbar-right (https://github.com/odoo/odoo/blob/392c91cda3133b921e9aca9a7b1c511231027438/addons/portal/views/portal_templates.xml#L37)
broke the mobile version of the menu
- Folded menu <li/> seemed too small (but it was only an illusion)
- On Chrome, the menu was sometimes not folded when it should have been.
This was because of rounded width calculations.
For the first point, the code has been made so that everything that
follows a divider is considered unfoldable.
Diffstat (limited to 'addons/website/static/src/less')
| -rw-r--r-- | addons/website/static/src/less/website.less | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/addons/website/static/src/less/website.less b/addons/website/static/src/less/website.less index c6121d59135..4fdbb8db726 100644 --- a/addons/website/static/src/less/website.less +++ b/addons/website/static/src/less/website.less @@ -519,12 +519,7 @@ div.carousel { } .navbar .o_extra_menu_items.open > ul { - padding: 0; - > li { - &.divider { - display: none; - } + li { border-top: 1px solid @gray-lighter; } |
