diff options
Diffstat (limited to 'addons/web_editor/static/src')
| -rw-r--r-- | addons/web_editor/static/src/scss/wysiwyg_snippets.scss | 8 |
1 files changed, 8 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 87ae09fa0b0..e50a728c93b 100644 --- a/addons/web_editor/static/src/scss/wysiwyg_snippets.scss +++ b/addons/web_editor/static/src/scss/wysiwyg_snippets.scss @@ -394,6 +394,10 @@ body.editor_enable.editor_has_snippets { @include we-icon-button('\f0d7'); text-align: left; + > img, > svg { + max-width: 100%; + } + + * { display: none !important; border: $o-we-sidebar-content-field-dropdown-border-width solid $o-we-sidebar-content-field-dropdown-border-color; @@ -648,6 +652,10 @@ body.editor_enable.editor_has_snippets { > div { line-height: $o-we-sidebar-content-field-dropdown-item-height; + + img, svg { + max-width: 100%; + } } &:not(.d-none) ~ we-button { |
