Fix - Add to Cart button is taller than the quantity input on single product page - #69
Open
rajatgautam755421 wants to merge 1 commit into
Open
rajatgautam755421 wants to merge 1 commit into
rajatgautam755421 wants to merge 1 commit into
Conversation
…product page (themegrill/radiate-pro#82) Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
QA suite — refused, no regression specThis PR changes product source but adds no spec, so the suite was Source files changed with no matching spec |
There was a problem hiding this comment.
Copilot review overview
🟢 Approval recommended
No unresolved blocking issues were identified.
Review effort: Lite
Findings: None
What changed in this PR
Updates WooCommerce single-product quantity fields to match the Add to Cart button height.
Changes:
- Applies matching
border-boxsizing and height. - Leaves grouped products and cart-page quantities unchanged.
| File | Description |
|---|---|
style.css |
Adds scoped WooCommerce quantity-field sizing rules. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes themegrill/radiate-pro#82
Free counterpart of themegrill/radiate-pro#102 (issue themegrill/radiate-pro#82).
The quantity field kept the browser's default box (25.2px,
content-box) while WooCommerce pads the button to 35.8px. On simple and variable product pages it now usesborder-boxandheight: 2.236em, the same 0.618em-padding-plus-1em formula WooCommerce gives the button, so both are the same height. Grouped products (quantity fields not beside the button) and the cart page are untouched.Test (WooCommerce active, store not in Coming soon mode)
No spec: the CI site has no WooCommerce, whose stylesheet sets the button height. CSS only, so PHPCS not applicable.
Changelog: Fix - Quantity field now matches the Add to Cart button height on single product pages.