refs #6200 Style fixes
gitea/hedera-web/pipeline/head This commit looks good Details

This commit is contained in:
Juan Ferrer 2023-10-09 20:20:01 +02:00
parent 6915e06c71
commit 3977b258d3
5 changed files with 25 additions and 6 deletions

2
debian/changelog vendored
View File

@ -1,4 +1,4 @@
hedera-web (23.40.1) stable; urgency=low
hedera-web (23.40.2) stable; urgency=low
* Initial Release.

View File

@ -202,6 +202,12 @@ const Catalog = new Class({
this.hideMenu();
}
,itemRenderer(builder, form) {
var minQuantity = builder.$.minQuantity;
minQuantity.style.display = form.$.minQuantity
? 'block' : 'hidden';
}
,realmRenderer(builder, form) {
var link = builder.$.link;
@ -273,6 +279,8 @@ const Catalog = new Class({
orderId: this.orderId
});
this.$.cardPopup.show(event.currentTarget);
this.$.cardMinQuantity.style.display = form.$.minQuantity
? 'block' : 'none';
}
,onAddLotClick(column, value, row) {

View File

@ -192,15 +192,20 @@
margin: 0;
margin-bottom: 1px;
}
& > .min-quantity {
bottom: 30px;
right: 0;
}
}
.min-quantity {
position: absolute;
bottom: 30px;
right: 0;
font-size: .8rem;
& > span {
font-size: 18px;
font-size: 16px;
vertical-align: middle;
}
}
@ -383,6 +388,11 @@
margin-top: 15px 0;
font-size: .9rem;
}
& > .min-quantity {
bottom: 0;
right: 0;
padding: 14px;
}
}
& > .lots-grid {
border-top: 1px solid #DDD;

View File

@ -149,7 +149,8 @@
id="grid-view"
empty-message="_Choose filter from right menu"
form-id="item"
model="items">
model="items"
renderer="itemRenderer">
<custom>
<div
id="item-box"
@ -203,7 +204,7 @@
{{Vn.Value.format(item.price, '%.02d€')}}
</span>
</div>
<div class="min-quantity" title="_MinimalQuantity">
<div id="min-quantity" class="min-quantity" title="_MinimalQuantity">
<span class="htk-icon material-symbols-rounded">
production_quantity_limits
</span>
@ -467,7 +468,7 @@
</tr>
</custom>
</htk-repeater>
<div class="min-quantity" title="_MinimalQuantity">
<div id="card-min-quantity" class="min-quantity" title="_MinimalQuantity">
{{card.minQuantity}}
<span class="htk-icon material-symbols-rounded">
production_quantity_limits

View File

@ -1,6 +1,6 @@
{
"name": "hedera-web",
"version": "23.40.1",
"version": "23.40.2",
"description": "Verdnatura web page",
"license": "GPL-3.0",
"repository": {