Procházet zdrojové kódy

Merge pull request #3014 from Automattic/fix/2794

Seedlet: Fix wrapping cart headers
Ben Dwyer před 4 roky
rodič
revize
a3b807b7f3

+ 5 - 0
seedlet/assets/css/style-woocommerce-rtl.css

@@ -1409,6 +1409,11 @@ body[class*="woocommerce"] #page .woocommerce-customer-details > *:empty {
 /**
  * Cart page
  */
+body[class*="woocommerce"] #page table.shop_table th,
+body[class*="woocommerce"] #page table.shop_table td {
+	word-break: unset;
+}
+
 body[class*="woocommerce"] #page table.shop_table td.product-remove {
 	border-width: 0;
 }

+ 5 - 0
seedlet/assets/css/style-woocommerce.css

@@ -1409,6 +1409,11 @@ body[class*="woocommerce"] #page .woocommerce-customer-details > *:empty {
 /**
  * Cart page
  */
+body[class*="woocommerce"] #page table.shop_table th,
+body[class*="woocommerce"] #page table.shop_table td {
+	word-break: unset;
+}
+
 body[class*="woocommerce"] #page table.shop_table td.product-remove {
 	border-width: 0;
 }

+ 4 - 0
seedlet/assets/sass/vendors/woocommerce/pages/_cart.scss

@@ -2,6 +2,10 @@
  * Cart page
  */
 body[class*="woocommerce"] #page { // adding #page here to override default wc styles without !important
+	table.shop_table th,
+	table.shop_table td {
+		word-break: unset;
+	}
 
 	table.shop_table td.product-remove {
 		border-width: 0;