-
Notifications
You must be signed in to change notification settings - Fork 0
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
#35 singular product page icon section #48
base: master
Are you sure you want to change the base?
Conversation
…ion is still needed for styling mobile version of this section.
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.
A couple little things. Also, can you please provide a screenshot of your changes in the PR and an endpoint for where these can be tested?
height: 56px; | ||
margin-right: 18px; | ||
margin-top: 44px; | ||
background-color: #C4C4C4; |
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.
Can you make this color a variable please?
font-size: calc(50px + (50 - 32) * ((100vw - 300px) / (1440 - 300))); | ||
padding-top: 27px; | ||
|
||
@media (max-width: ${dimensions.maxwidthTablet}px) { |
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.
Can you remove this empty query please
<IconContainer> | ||
{data.icons.map(icon => { | ||
return ( | ||
<Icon> |
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.
Can you please make sure these have a unique key
return ( | ||
<Icon> | ||
<IconImage> | ||
<img src={icon.icon_image.url} alt="Icon"/> |
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.
Can you have the alt text come from the CMS please?
<ImageContainer> | ||
<MainImage></MainImage> | ||
<SmallImageContainer> | ||
<SmallImage></SmallImage> |
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.
What are these empty things for?
No description provided.