From 70d5a80d0e4f3c18473646e65df7db723fb136b2 Mon Sep 17 00:00:00 2001 From: helgatheviking <507025+helgatheviking@users.noreply.github.com> Date: Mon, 16 Jan 2023 12:54:53 -0700 Subject: [PATCH 1/2] Some tweaks for upcoming MNM 2.3. --- .../woocommerce/extensions/mix-and-match.scss | 31 +++++++++++-------- 1 file changed, 18 insertions(+), 13 deletions(-) diff --git a/assets/css/woocommerce/extensions/mix-and-match.scss b/assets/css/woocommerce/extensions/mix-and-match.scss index 4ab9c09d3..8b86dbe77 100644 --- a/assets/css/woocommerce/extensions/mix-and-match.scss +++ b/assets/css/woocommerce/extensions/mix-and-match.scss @@ -9,25 +9,30 @@ @import "../../sass/utils/variables"; @import "../../sass/vendors/modular-scale"; -.mnm_table { +.single-product div.product { - .product-thumbnail, - .product-name, - .product-quantity, - .container-quantity { - padding: ms(-2) ms(-1) !important; - } + // Tabular layout. + .mnm_table { + + .product-thumbnail, + .product-description, + .product-quantity { + padding: ms(-2) ms(-1) !important; + } + + .mnm_item { - .mnm_item { + img { + max-width: 100%; + } + } - img { - max-width: 100%; + .product-quantity .quantity { + margin-right: 0; } - } - .product-name { - vertical-align: middle; } + } .cart, From a656f1a1355dd4364a32101b88eb787f12616615 Mon Sep 17 00:00:00 2001 From: helgatheviking <507025+helgatheviking@users.noreply.github.com> Date: Mon, 16 Jan 2023 14:15:32 -0700 Subject: [PATCH 2/2] handle mix and match checkbox inputs --- assets/css/woocommerce/extensions/mix-and-match.scss | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/assets/css/woocommerce/extensions/mix-and-match.scss b/assets/css/woocommerce/extensions/mix-and-match.scss index 8b86dbe77..05ce828e9 100644 --- a/assets/css/woocommerce/extensions/mix-and-match.scss +++ b/assets/css/woocommerce/extensions/mix-and-match.scss @@ -33,6 +33,10 @@ } + .mnm-checkbox { + width: initial; + } + } .cart,