Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Product summary fixed max-width #372

Open
ghost opened this issue Mar 22, 2023 · 0 comments
Open

Product summary fixed max-width #372

ghost opened this issue Mar 22, 2023 · 0 comments

Comments

@ghost
Copy link

ghost commented Mar 22, 2023

const PRODUCT_SUMMARY_MAX_WIDTH = 300

In the product summary, a variable is hardcoded to 300, making the maximum width 300px with inline css. I need a slightly bigger shelf and to do that the only option is to use the !important flag to overwrite. Ideally, the value of this variable would be set through props in the component or just remove the inline style and pass it to a css file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants