[IMP] web_widget_one2many_product_picker: BS grid columns

This commit is contained in:
Alexandre D. Díaz
2021-02-04 14:15:55 +01:00
committed by sergio-teruel
parent feeeef2ac6
commit 8aef897c70
7 changed files with 37 additions and 13 deletions

View File

@@ -0,0 +1,6 @@
$one2many-product-picker-grid-breakpoints: map-merge(
$grid-breakpoints,
(
xxl: 1440px,
)
);

View File

@@ -45,6 +45,8 @@
}
.oe_one2many_product_picker_view {
@include make-grid-columns($columns: 24, $breakpoints: $one2many-product-picker-grid-breakpoints);
overflow: auto;
> .row {

View File

@@ -69,7 +69,7 @@
</t>
<t t-name="One2ManyProductPicker.FlipCard">
<div class="oe_flip_container p-1 col-4 col-sm-4 col-md-2 col-lg-2 col-xl-1">
<div class="oe_flip_container p-1 col-12 col-sm-8 col-md-6 col-lg-4 col-xl-3 col-xxl-2">
<div t-attf-class="oe_flip_card {{!state &amp;&amp; 'disabled' || ''}}">
<div class="oe_flip_card_inner text-center">
<div t-attf-class="oe_flip_card_front p-0 {{(modified &amp;&amp; 'border-warning') || (state &amp;&amp; !is_virtual &amp;&amp; 'border-success') || ''}}">