[IMP] web_editor: allow 'we-button-group' to increase its size

Allow 'we-button-group' to increase its size when it's the only option
inside an option field.

Part of https://github.com/odoo/odoo/pull/55959
task-2157252
This commit is contained in:
stefanorigano (SRI)
2020-08-14 19:19:47 +00:00
committed by qsm-odoo
parent aa69ba54e8
commit 0431c49790
@@ -697,6 +697,18 @@ body.editor_enable.editor_has_snippets {
}
}
}
// Only when main option (not in a we-row or something like that...)
we-customizeblock-option > we-button-group.o_we_user_value_widget we-selection-items {
@include large-component();
we-button {
display: flex;
justify-content: center;
flex: 0 1 percentage(1/3);
padding: 0 2px;
text-align: center;
}
}
// Inputs
we-input.o_we_user_value_widget {