Merge branch 'develop' into fix/mutate_iter_list

This commit is contained in:
Sabu Siyad 2022-11-17 17:58:49 +05:30 committed by GitHub
commit 0b5584a54a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 2 deletions

View File

@ -159,6 +159,12 @@
}
}
.item-img {
@extend .image;
border-radius: 8px 8px 0 0;
object-fit: cover;
}
> .item-detail {
display: flex;
flex-direction: column;

View File

@ -103,9 +103,9 @@ erpnext.PointOfSale.ItemSelector = class {
<div class="flex items-center justify-center h-32 border-b-grey text-6xl text-grey-100">
<img
onerror="cur_pos.item_selector.handle_broken_image(this)"
class="h-full" src="${item_image}"
class="h-full item-img" src="${item_image}"
alt="${frappe.get_abbr(item.item_name)}"
style="object-fit: cover;">
>
</div>`;
} else {
return `<div class="item-qty-pill">