diff options
| author | qsm-odoo <qsm@odoo.com> | 2020-07-08 15:55:52 +0000 |
|---|---|---|
| committer | qsm-odoo <qsm@odoo.com> | 2020-07-14 14:43:16 +0000 |
| commit | b96c0eaf38af2307206bc62d5bd4e028e7a29a4d (patch) | |
| tree | d4f73975cfe64f0840e98922a1659c6ec5ce82b7 /addons/web_editor/static/src/scss | |
| parent | f16113a06e31c0dd04f13be5537d24a8e3d4f96a (diff) | |
[IMP] web_editor: allow to use images in the left panel
Part of https://github.com/odoo/odoo/pull/53930
task-2157252
Co-authored-by: Benjamin Vray <bvr@odoo.com>
Diffstat (limited to 'addons/web_editor/static/src/scss')
| -rw-r--r-- | addons/web_editor/static/src/scss/wysiwyg_snippets.scss | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/addons/web_editor/static/src/scss/wysiwyg_snippets.scss b/addons/web_editor/static/src/scss/wysiwyg_snippets.scss index f803ea557aa..19705bbed7a 100644 --- a/addons/web_editor/static/src/scss/wysiwyg_snippets.scss +++ b/addons/web_editor/static/src/scss/wysiwyg_snippets.scss @@ -440,6 +440,10 @@ body.editor_enable.editor_has_snippets { @include o-text-overflow(block); min-height: $o-we-sidebar-content-field-height - 2 * $o-we-sidebar-content-field-border-width; line-height: $o-we-sidebar-content-field-height - 2 * $o-we-sidebar-content-field-border-width; + + > img { + margin-bottom: 1px; // Not sure why but not really centered otherwise + } } &.active { @include we-icon-button('\f00c', $align: left); |
