diff --git a/webshop/public/scss/webshop_cart.scss b/webshop/public/scss/webshop_cart.scss index 9a49e1ba67..7be37458ea 100644 --- a/webshop/public/scss/webshop_cart.scss +++ b/webshop/public/scss/webshop_cart.scss @@ -652,6 +652,13 @@ body.product-page { } .cart-table { + .cart-header { + display: none; + @media (min-width: 992px) { + display: table-header-group; + } + } + table-layout: fixed; tr { margin-bottom: 1rem; } @@ -675,10 +682,13 @@ body.product-page { .cart-item-image { width: 20%; - min-width: 100px; + min-width: 75px; img { max-height: 112px; } + @media (min-width: 992px) { + min-width: 100px; + } } .cart-items { @@ -712,6 +722,9 @@ body.product-page { .item-rate { font-size: 13px; color: var(--text-muted); + @media screen and (max-width: 992px) { + font-size: 10px; + } } .free-tag { @@ -722,8 +735,13 @@ body.product-page { textarea { width: 70%; + min-width: 105px; height: 30px; font-size: 14px; + @media screen and (max-width: 992px) { + width: 75%; + height: 35px; + } } } @@ -745,7 +763,7 @@ body.product-page { .item-column { width: 50%; @media (max-width: 992px) { - width: 70%; + width: 75%; } } @@ -1401,7 +1419,6 @@ body.product-page { transform: translate3d(0, 0, 0); pointer-events: auto; } - .w-fit { width: fit-content !important; } \ No newline at end of file diff --git a/webshop/templates/includes/cart/cart_items.html b/webshop/templates/includes/cart/cart_items.html index b820c706c1..997bff91c0 100644 --- a/webshop/templates/includes/cart/cart_items.html +++ b/webshop/templates/includes/cart/cart_items.html @@ -1,4 +1,5 @@ {% from "webshop/templates/includes/macros.html" import product_image %} +{% from "webshop/templates/includes/cart/cart_macros.html" import quantity_input %} {% macro item_subtotal(item) %}