refs #6199 Added minQuantity in item #1786
|
@ -37,17 +37,18 @@
|
|||
value="{{::item.value7}}">
|
||||
</vn-label-value>
|
||||
</div>
|
||||
<div
|
||||
<vn-horizontal
|
||||
class="container text-right text-caption"
|
||||
ng-if="::item.minQuantity"
|
||||
ng-class="'text-caption-reduced'">
|
||||
<vn-icon
|
||||
icon="production_quantity_limits"
|
||||
translate-attr="{title: 'Minimal quantity'}"
|
||||
ng-class="'min-quantity-icon'">
|
||||
</vn-icon>
|
||||
<span>{{::item.minQuantity}}</span>
|
||||
</div>
|
||||
ng-if="::item.minQuantity">
|
||||
<div ng-class="'text-caption-reduced'">
|
||||
<vn-icon
|
||||
guillermo marked this conversation as resolved
Outdated
|
||||
icon="production_quantity_limits"
|
||||
translate-attr="{title: 'Minimal quantity'}"
|
||||
ng-class="'text-subtitle1'">
|
||||
</vn-icon>
|
||||
<span class="vn-ml-xs">{{::item.minQuantity}}</span>
|
||||
</div>
|
||||
</vn-horizontal>
|
||||
<vn-rating ng-if="::item.stars"
|
||||
ng-model="::item.stars">
|
||||
</vn-rating>
|
||||
|
|
|
@ -45,13 +45,9 @@ vn-order-catalog {
|
|||
position: relative;
|
||||
}
|
||||
.text-caption-reduced {
|
||||
guillermo marked this conversation as resolved
Outdated
alexm
commented
Has provat a gastar vn-vertical o vn-horizontal? Has provat a gastar vn-vertical o vn-horizontal?
guillermo
commented
Para centrar el span verticalmente tengo que hacer:
He probado muchas formas pero la única forma sin empastrarlo mucho ha sido esa Para centrar el span verticalmente tengo que hacer:
```
display: flex;
align-items: center;
justify-content: flex-end;
```
He probado muchas formas pero la única forma sin empastrarlo mucho ha sido esa
|
||||
color: $color-alert;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: flex-end;
|
||||
color: $color-alert;
|
||||
}
|
||||
.min-quantity-icon {
|
||||
font-size: 18px;
|
||||
margin-right: 3px;
|
||||
}
|
||||
}
|
||||
guillermo marked this conversation as resolved
Outdated
alexm
commented
Aci hi ha clases en diferents tamanys que igual te val: front/core/styles/text.scss Aci hi ha clases en diferents tamanys que igual te val: front/core/styles/text.scss
I per al margin pots gastar "bootstrap" vn-mr-[xs, sm, md, lg. xl]
|
Loading…
Reference in New Issue
en salix no posem rgb has de gastar els colors generics.