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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I feel like the border could also be removed from the quick add - bulk and quick order list, specifically for the row images.
Maybe we could set a max value actually on them 🤷 using min so it still have a border but prevents it from being huge and actually hiding the image:
Here is how it looks with 14px border thickness
And here with 24px thickness
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I dont know about setting a max. I think that goes against our principles 🤔 We dont really do that anywhere else and let the merchants go as far as theyd like
I think we either remove it (and in that case maybe all of the other settings too?) or keep it as is. It feels a bit odd to pick and choose which global settings apply and which dont
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah I don't know if we need to be that picky. Removing the shadows from the quick add modal was an obvious must, they were always either rendering broken or not at all.
Even removing them from quick order list feels a little heavy-handed to me, like what's really wrong with a subtle 2px shadow. Borders are in the same boat—yes you can do weird things if you try to break it, but if you have a light theme and light product images, a dark 1px border might be really important for your images to render cleanly.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah that's why I would see it as our responsibility to put in guard rails where possible. Expecting the merchants to set a some global settings to a value and go check everywhere in the theme what could be impacted isn't the way to go imo.
If you have 10px thickness for your border, it's not even pushing it to the max at 24px but it's not looking good as a user. The issue being it's applied on images that are bigger where it's not a problem but those instances where it's tiny are worst (quick add modal bulk).
Once they see it they can always reduce their border thickness and mitigate it 🤷 So it's not the worst.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I understand the concerns, we made a few exceptions to this rule and accepted that border may not look good for all components and that it's a pretty edgy style to apply to your online store.
We are okay for setting not looking good in all use cases for theme settings, we have this issue everywhere and we rely on merchants to make the best decision for their brand, but the shadow cutting off, I am ok to remove it on the poster product image if it's a pain to adjust.