Skip to content

Commit

Permalink
Merge pull request frappe#44071 from aerele/pos-page-item-selector-fix
Browse files Browse the repository at this point in the history
fix: add default height to POS item card selector
  • Loading branch information
rohitwaghchaure authored Nov 11, 2024
2 parents 7cfd6a5 + 5f5a514 commit 6cb169c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion erpnext/selling/page/point_of_sale/pos_item_selector.js
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
Expand Down

0 comments on commit 6cb169c

Please sign in to comment.