summaryrefslogtreecommitdiff
path: root/addons/web_editor
diff options
context:
space:
mode:
authorBenjamin Vray <bvr@odoo.com>2020-10-19 12:13:08 +0000
committerqsm-odoo <qsm@odoo.com>2020-10-19 12:49:35 +0000
commitd184004c846234ecd9d9924c0e37472c03633f5c (patch)
treeb2455be93dc164ec9928f8cf39ff327990d00bbb /addons/web_editor
parentd288748d8ca92ad3f541d65f7e68517fffc01f8e (diff)
[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
Diffstat (limited to 'addons/web_editor')
-rw-r--r--addons/web_editor/static/src/scss/wysiwyg_snippets.scss2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/web_editor/static/src/scss/wysiwyg_snippets.scss b/addons/web_editor/static/src/scss/wysiwyg_snippets.scss
index b7e598c6662..3c5897baffe 100644
--- a/addons/web_editor/static/src/scss/wysiwyg_snippets.scss
+++ b/addons/web_editor/static/src/scss/wysiwyg_snippets.scss
@@ -776,7 +776,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 {