woocommerce / storefront

Official theme for WooCommerce
https://wordpress.org/themes/storefront/
970 stars 471 forks source link

Invalid CSS property value in Cart in Storefront theme #601

Closed Jpegtobbe closed 7 years ago

Jpegtobbe commented 7 years ago

There is invalid css in the Storefront theme, on the cart page. On the remove icon. In the class table.cart td.product-remove a.remove -> top: -ms(-2); Got to be a typo? -ms(-2) is not valid css. I guess thats something from the "modularscale"-lib?

Go to the cart page. View the page in mobile mode. Then inspect the a.remove element.

WC Version: 3.0.8 WP Version: 4.8 Storefront Version: 2.2.3

jameskoster commented 7 years ago

I guess thats something from the "modularscale"-lib?

Correct. I think a space is required between - and the ms() function for it to compile properly as a negative value.