summaryrefslogtreecommitdiff
path: root/addons/web/static/src
diff options
context:
space:
mode:
authorqsm-odoo <qsm@odoo.com>2019-01-24 10:48:56 +0000
committerqsm-odoo <qsm@odoo.com>2019-01-24 10:55:18 +0000
commitcaacd95a8787b2874a129753b7e5439d0c0c02e8 (patch)
treea940a1d1945a31a069ada6e04718d14ec48e6bec /addons/web/static/src
parentf3de712d7624d9385b098c6657a660fbce3c0aad (diff)
[FIX] web: allow to open community website menu on iOS
Before this commit, the menu to go into the backend from the website was not possible to open on iOS without opening the right menu first. This was because position: fixed is not able to counter overflow: hidden in iOS. This is the fix for stable versions, the proper solution will be done in master. Closes https://github.com/odoo/odoo/issues/29390 task-1923151 closes odoo/odoo#30507
Diffstat (limited to 'addons/web/static/src')
-rw-r--r--addons/web/static/src/less/navbar.less6
1 files changed, 5 insertions, 1 deletions
diff --git a/addons/web/static/src/less/navbar.less b/addons/web/static/src/less/navbar.less
index 5f3aff0b98f..7b31ec11089 100644
--- a/addons/web/static/src/less/navbar.less
+++ b/addons/web/static/src/less/navbar.less
@@ -94,7 +94,6 @@
position: relative;
height: @odoo-navbar-height;
- overflow: hidden;
> ul {
> li {
@@ -110,6 +109,7 @@
&.o_menu_sections {
width: 100%;
+ display: none;
> li.open .dropdown-menu {
position: static;
@@ -158,6 +158,10 @@
.o_main_navbar {
height: 100%;
overflow: auto;
+
+ .o_menu_sections {
+ display: block;
+ }
}
}
}