summaryrefslogtreecommitdiff
path: root/addons/web_editor/static/src/js
diff options
context:
space:
mode:
authorqsm-odoo <qsm@odoo.com>2020-08-14 12:50:26 +0000
committerqsm-odoo <qsm@odoo.com>2020-08-14 19:19:48 +0000
commitc8afa7f6bb660aa6f80a016df8f89cd4bd5ecf95 (patch)
tree2ed46d93b2ddfbd4bb02db0c74442a38a6c272fd /addons/web_editor/static/src/js
parent2143b8a6b7ada69e969bd9991ad871f816d3321f (diff)
[IMP] web_editor, *: add caret icon to dropdowns & colorpicker modal
*: website Part of https://github.com/odoo/odoo/pull/55959 task-2157252 Co-authored-by: stefanorigano (SRI) <sri@odoo.com>
Diffstat (limited to 'addons/web_editor/static/src/js')
-rw-r--r--addons/web_editor/static/src/js/editor/snippets.options.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/addons/web_editor/static/src/js/editor/snippets.options.js b/addons/web_editor/static/src/js/editor/snippets.options.js
index bdb60869ebc..e5c1108695c 100644
--- a/addons/web_editor/static/src/js/editor/snippets.options.js
+++ b/addons/web_editor/static/src/js/editor/snippets.options.js
@@ -778,6 +778,10 @@ const SelectUserValueWidget = BaseSelectionUserValueWidget.extend({
this.menuTogglerEl.appendChild(iconEl);
}
this.containerEl.insertBefore(this.menuTogglerEl, this.menuEl);
+
+ const dropdownCaretEl = document.createElement('span');
+ dropdownCaretEl.classList.add('o_we_dropdown_caret');
+ this.containerEl.appendChild(dropdownCaretEl);
},
//--------------------------------------------------------------------------