summaryrefslogtreecommitdiff
path: root/addons/web_editor/static/src/scss/web_editor.frontend.scss
diff options
context:
space:
mode:
authorBenjamin Vray <bvr@odoo.com>2020-12-08 10:53:59 +0000
committerBenjamin Vray <bvr@odoo.com>2020-12-08 11:05:28 +0000
commitb046fb31c34fd61086a492b2b8abf59a4e205dad (patch)
treee4954be139960cfbedf61b4a9e1b316c0a74b876 /addons/web_editor/static/src/scss/web_editor.frontend.scss
parenta4cf182211de21970d5261713c5cbae3e609cfb1 (diff)
[FIX] web_editor: fix css of active items
Before this commit, the css of the active items considered the items to always be <a> elements. But a PR, coming after the one who introduced this css code, changed the items generation system and now the items are no longer <a> elements but <div> elements. This caused a flickering effect when hovering over the last item in the dropdown. Part of #62971 task-2312878 Signed-off-by: Jérémy Kersten (jke) <jke@openerp.com>
Diffstat (limited to 'addons/web_editor/static/src/scss/web_editor.frontend.scss')
-rw-r--r--addons/web_editor/static/src/scss/web_editor.frontend.scss10
1 files changed, 4 insertions, 6 deletions
diff --git a/addons/web_editor/static/src/scss/web_editor.frontend.scss b/addons/web_editor/static/src/scss/web_editor.frontend.scss
index 39c96304361..f48dc079675 100644
--- a/addons/web_editor/static/src/scss/web_editor.frontend.scss
+++ b/addons/web_editor/static/src/scss/web_editor.frontend.scss
@@ -22,12 +22,10 @@
.ui-menu-item {
padding: 0;
- > a {
- &.ui-state-active {
- border: none;
- font-weight: normal;
- margin: 0;
- }
+ > .ui-state-active {
+ border: none;
+ font-weight: normal;
+ margin: 0;
}
}
}