From 06ee836ff0f8b89b0eb6baeea3224112d5590544 Mon Sep 17 00:00:00 2001 From: Benjamin Vray Date: Mon, 19 Oct 2020 12:13:08 +0000 Subject: [PATCH] [FIX] web_editor: fix select with we-title Before this commit, line height on items in a select was not applied if the items were in a we-title tag (this is the case when using the string attribute on we-button instead of text content). Part of https://github.com/odoo/odoo/pull/60271 task-2312878 X-original-commit: d184004c846234ecd9d9924c0e37472c03633f5c --- addons/web_editor/static/src/scss/wysiwyg_snippets.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/web_editor/static/src/scss/wysiwyg_snippets.scss b/addons/web_editor/static/src/scss/wysiwyg_snippets.scss index 4a9c64a439b..52007e863b2 100644 --- a/addons/web_editor/static/src/scss/wysiwyg_snippets.scss +++ b/addons/web_editor/static/src/scss/wysiwyg_snippets.scss @@ -850,7 +850,7 @@ body.editor_enable.editor_has_snippets { flex-grow: 1; } - > div { + > div, > we-title { line-height: $o-we-sidebar-content-field-dropdown-item-height; img, svg {