fix: add default height to POS item card selector (backport #44071) (#44075)

fix: add default height to POS item card selector

(cherry picked from commit 5f5a514d6f)

Co-authored-by: Kavin <78342682+kavin0411@users.noreply.github.com>
This commit is contained in:
mergify[bot]
2024-11-11 12:27:26 +05:30
committed by GitHub
parent 593428b16d
commit 65ec7c5604

View File

@@ -99,7 +99,7 @@ erpnext.PointOfSale.ItemSelector = class {
return `<div class="item-qty-pill">
<span class="indicator-pill whitespace-nowrap ${indicator_color}">${qty_to_display}</span>
</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
onerror="cur_pos.item_selector.handle_broken_image(this)"
class="h-full item-img" src="${item_image}"