diff options
| author | Romain Derie <rde@odoo.com> | 2020-11-06 18:06:13 +0000 |
|---|---|---|
| committer | qsm-odoo <qsm@odoo.com> | 2020-11-17 14:37:16 +0000 |
| commit | 1bfc5c83ae208430cfd6e3eda72dd53aa8d3a613 (patch) | |
| tree | 2759676e04ba48ec17271f25fd747c3cee953adf /addons/website/static/src | |
| parent | bb2fae9cc2acf0ff1d8297f09c34cbb3cd67c0be (diff) | |
[FIX] website: show mega menu over /my sidebar
Note that in 14.0 the same fix was already applied with [1]. This commit
only clarifies the line's related comment and use the right zindex
variable (even though the value is the same).
[1]: https://github.com/odoo/odoo/commit/0f2cab4aebcc33ca9e278c9395fed2cc8934ed38
closes odoo/odoo#61866
X-original-commit: 702f2b93cec19fab75eca25a53aa16cf419b289e
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
Co-authored-by: qsm-odoo <qsm@odoo.com>
Diffstat (limited to 'addons/website/static/src')
| -rw-r--r-- | addons/website/static/src/scss/website.scss | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/addons/website/static/src/scss/website.scss b/addons/website/static/src/scss/website.scss index 2c4bcec7f93..3811f340fcb 100644 --- a/addons/website/static/src/scss/website.scss +++ b/addons/website/static/src/scss/website.scss @@ -799,11 +799,13 @@ $-hamburger-left: o-website-value('hamburger-position') == 'left'; $-hamburger-center: o-website-value('hamburger-position') == 'center'; $-hamburger-right: o-website-value('hamburger-position') == 'right'; -$zindex-website-header: $zindex-modal - 20; +$zindex-website-header: $zindex-fixed !default; header { &#top { - // We need this z-index for the shadow option of the header + // We need this z-index for the shadow option of the header but also + // to create a stacking context so that header dropdowns appear below + // and above the same elements as the header. z-index: $zindex-website-header; } &:not(.o_header_no_transition) { |
