PoS UI fix: scale-down item image (#4076)

This commit is contained in:
Pavol Rusnak 2022-08-25 12:26:44 +02:00 committed by GitHub
parent e22e522245
commit db2c29a6e1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 2 deletions

View file

@ -27,7 +27,7 @@
</script>
<script id="template-cart-item-image" type="text/template">
<img src="{image}" width="50" alt="">
<img class="cart-item-image" src="{image}" alt="">
</script>
<script id="template-cart-custom-amount" type="text/template">

View file

@ -17,7 +17,13 @@
.card-img-top {
width: 100%;
max-height: 180px;
object-fit: cover;
object-fit: scale-down;
}
.cart-item-image {
width: 50px;
height: 50px;
object-fit: scale-down;
}
.js-cart-added {