[IMP] web_editor: limit dropdown's thumbs size

Part of https://github.com/odoo/odoo/pull/56427
task-2264627

X-original-commit: 23b8ff9ab4e6609fcfb37da6975ad54315d3e701
This commit is contained in:
stefanorigano (SRI)
2020-08-28 08:19:44 +00:00
committed by Xavier-Do
parent 438158eaf6
commit cc41abf137
@@ -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 {