Skip to content

Commit

Permalink
[FIX] web: allow to open community website menu on iOS
Browse files Browse the repository at this point in the history
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 odoo#29390
task-1923151

closes odoo#30507
  • Loading branch information
qsm-odoo committed Jan 24, 2019
1 parent f3de712 commit caacd95
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion addons/web/static/src/less/navbar.less
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,6 @@

position: relative;
height: @odoo-navbar-height;
overflow: hidden;

> ul {
> li {
Expand All @@ -110,6 +109,7 @@

&.o_menu_sections {
width: 100%;
display: none;

> li.open .dropdown-menu {
position: static;
Expand Down Expand Up @@ -158,6 +158,10 @@
.o_main_navbar {
height: 100%;
overflow: auto;

.o_menu_sections {
display: block;
}
}
}
}

0 comments on commit caacd95

Please sign in to comment.