Merge pull request #44071 from aerele/pos-page-item-selector-fix

fix: add default height to POS item card selector
This commit is contained in:
rohitwaghchaure
2024-11-11 12:09:14 +05:30
committed by GitHub

View File

@@ -99,7 +99,7 @@ erpnext.PointOfSale.ItemSelector = class {
return `<div class="item-qty-pill"> return `<div class="item-qty-pill">
<span class="indicator-pill whitespace-nowrap ${indicator_color}">${qty_to_display}</span> <span class="indicator-pill whitespace-nowrap ${indicator_color}">${qty_to_display}</span>
</div> </div>
<div class="flex items-center justify-center h-32 border-b-grey text-6xl text-grey-100"> <div class="flex items-center justify-center border-b-grey text-6xl text-grey-100" style="height:8rem; min-height:8rem">
<img <img
onerror="cur_pos.item_selector.handle_broken_image(this)" onerror="cur_pos.item_selector.handle_broken_image(this)"
class="h-full item-img" src="${item_image}" class="h-full item-img" src="${item_image}"