Automattic / themes

Free WordPress themes made by Automattic for WordPress.org and WordPress.com.
https://themeshaper.com
GNU General Public License v2.0
908 stars 358 forks source link

WooCommerce Filter by Price block fields padding issue in Assembler theme #8033

Open marissaexplores opened 3 months ago

marissaexplores commented 3 months ago

Quick summary

The Filter by Price block fields do not show the whole min/max price.

Annotation on 2024-08-23 at 12-08-16

This issue is occurring because of the padding on the field.

I've tested the field in other themes like Twenty Twenty-Four, Tazza, and Tsubaki. This issue does not occur in those themes because they have set the input field padding to padding: 8px;, while Assembler has it set at padding:0.8rem 1rem;.

Steps to reproduce

  1. Install Assembler theme
  2. Go to Appearance > Editor > Templates > Product Catalog
  3. Add the Filter by Price block to the page
  4. View the min/max fields are cutting-off the prices

A clear and concise description of what you expected to happen.

The user expects to see the whole number in the min/max fields of the Filter by Price block.

What actually happened

The padding prevents users from seeing the whole price in the fields.

Impact

Some (< 50%)

Available workarounds?

Yes, easy to implement

If the above answer is "Yes...", outline the workaround.

Add this CSS as a workaround:

.wc-block-price-slider input:not([type="submit"]):not([type="checkbox"]) {
padding: 8px;
}

Platform (Simple and/or Atomic)

Atomic

Logs or notes

I am currently only seeing this issue in the Assembler theme.

retnonindya commented 2 months ago

📌 REPRODUCTION RESULTS Replicated

📌 FINDINGS/SCREENSHOTS/VIDEO

Screenshot 2024-09-11 at 4 16 54 PM

I also noticed the slider (?) overlaps with the price box.

Screenshot 2024-09-11 at 4 18 14 PM

📌 ACTIONS