mirror of
https://github.com/OCA/web.git
synced 2025-02-22 13:21:25 +02:00
[IMP] web_widget_one2many_product_picker: BS grid columns
This commit is contained in:
committed by
sergio-teruel
parent
feeeef2ac6
commit
8aef897c70
@@ -0,0 +1,6 @@
|
||||
$one2many-product-picker-grid-breakpoints: map-merge(
|
||||
$grid-breakpoints,
|
||||
(
|
||||
xxl: 1440px,
|
||||
)
|
||||
);
|
||||
@@ -45,6 +45,8 @@
|
||||
}
|
||||
|
||||
.oe_one2many_product_picker_view {
|
||||
@include make-grid-columns($columns: 24, $breakpoints: $one2many-product-picker-grid-breakpoints);
|
||||
|
||||
overflow: auto;
|
||||
|
||||
> .row {
|
||||
|
||||
@@ -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 && 'disabled' || ''}}">
|
||||
<div class="oe_flip_card_inner text-center">
|
||||
<div t-attf-class="oe_flip_card_front p-0 {{(modified && 'border-warning') || (state && !is_virtual && 'border-success') || ''}}">
|
||||
|
||||
Reference in New Issue
Block a user