refactor: update component styles and structure for improved consistency and responsiveness#107
Merged
Alexandrbig1 merged 1 commit intoOct 10, 2025
Conversation
…ncy and responsiveness
Contributor
Author
|
@Alexandrbig1, please review the recent changes when you have a moment. I've made several styling adjustments to ensure visual consistency across components, and I've also implemented responsive design improvements on the product page to enhance usability on different screen sizes. |
Alexandrbig1
approved these changes
Oct 10, 2025
Contributor
Alexandrbig1
left a comment
There was a problem hiding this comment.
Thank you for your contribution, and congrats on your PR being approved!
We’re excited to have your work as part of Open Code Chicago’s Hacktoberfest 2025 project.
Contributor
|
@AparAgarwal, great work! Apar, may I ask you for a few minor issues, please:
|
Contributor
|
@AparAgarwal, also, you can ask the |
Contributor
Author
|
@all-contributors please add @AparAgarwal for bug |
Contributor
|
I've put up a pull request to add @AparAgarwal! 🎉 |
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.



This pull request focuses on improving the visual consistency and responsiveness of the product listing and related sections. The changes modernize typography, spacing, and layout for better usability and alignment across devices, while also refining component props and removing unused CSS.
Key changes include:
UI/UX and Layout Improvements
CollectionSection,SupplementForGoalsSection,WhyChoose,RecentlyViewed) to use consistent styles, colors, and markup, and removed old heading-specific CSS in favor of utility classes.Product Card and Grid Enhancements
ProductCardimage container to useobject-cover, absolute positioning, and consistent aspect ratio, improving image presentation and responsiveness.Sorting and Filtering Toolbar
SortDropdownto accept aclassNameprop, improved button and dropdown responsiveness, and made the label truncation and layout more mobile-friendly.Code and CSS Cleanup
These updates collectively improve the user interface, ensure consistency across sections, and simplify the codebase for future enhancements.