When adding a short product description or a product description with thewoocommerce-errorclass applied, an exclamation mark (!) icon appears before the custom descriptions. However, this icon is not visible when the page is viewed in mobile mode, causing padding inconsistencies in the product description text. This behavior is not present when using the default WordPress theme, where no exclamation mark is displayed at all.
Step-by-step reproduction instructions
Add a short product description or product description to a WooCommerce product and include the woocommerce-error class within the description content.
Visit the product page on a desktop view.
Observe that an exclamation mark icon appears at the beginning of the description.
Switch to a mobile view or use responsive design mode.
Observe that the exclamation mark icon disappears in mobile view, causing a padding issue around the description text.
Screenshots, screen recording, code snippet or Help Scout ticket
Description
When adding a short product description or a product description with the
woocommerce-error
class applied, an exclamation mark(!)
icon appears before the custom descriptions. However, this icon is not visible when the page is viewed in mobile mode, causing padding inconsistencies in the product description text. This behavior is not present when using the default WordPress theme, where no exclamation mark is displayed at all.Step-by-step reproduction instructions
woocommerce-error
class within the description content.Screenshots, screen recording, code snippet or Help Scout ticket
Reported here - https://wordpress.org/support/topic/theme-css-error-on-mobile
Woocomerce product edit page: On Desktop: On Mobile view:
Environment info
No response
Is the issue you are reporting a regression
No