From c8afa7f6bb660aa6f80a016df8f89cd4bd5ecf95 Mon Sep 17 00:00:00 2001 From: qsm-odoo Date: Fri, 14 Aug 2020 12:50:26 +0000 Subject: [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) --- addons/web_editor/static/src/js/editor/snippets.options.js | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'addons/web_editor/static/src/js/editor/snippets.options.js') 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); }, //-------------------------------------------------------------------------- -- cgit v1.2.3