-
-
Notifications
You must be signed in to change notification settings - Fork 35
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
Tomporvaz/add site button #331
Conversation
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.
Looking great overall, just a few styling changes suggested here
src/components/Toolbar/Toolbar.js
Outdated
<Typography style={{ textTransform: 'none' }} fontSize={'small'}> | ||
Resources | ||
</Typography> | ||
<Typography fontSize={'small'}>Resources</Typography> |
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.
Curly braces are not necessary for the fontSize
prop:
<Typography fontSize={'small'}>Resources</Typography> | |
<Typography fontSize="small">Resources</Typography> |
src/components/Toolbar/Toolbar.js
Outdated
<Typography style={{ textTransform: 'none' }} fontSize={'small'}> | ||
Filter | ||
</Typography> | ||
<Typography fontSize={'small'}>Filter</Typography> |
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.
Same here:
<Typography fontSize={'small'}>Filter</Typography> | |
<Typography fontSize="small">Filter</Typography> |
src/components/Toolbar/Toolbar.js
Outdated
<Typography style={{ textTransform: 'none' }} fontSize={'small'}> | ||
Search | ||
</Typography> | ||
<Typography fontSize={'small'}>Search</Typography> |
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.
Same here
<Typography fontSize={'small'}>Search</Typography> | |
<Typography fontSize="small">Search</Typography> |
src/components/Toolbar/Toolbar.js
Outdated
}} | ||
> | ||
<ContributeIcon /> | ||
<Typography style={{ textTransform: 'none' }} fontSize={'small'}> | ||
Contribute | ||
<Typography noWrap fontSize={'small'}> |
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.
Same here:
<Typography noWrap fontSize={'small'}> | |
<Typography noWrap fontSize="small"> |
@RNR1 I have removed the all of the curly brackets requested, and I also found more in the mobile code. Searching for curly brackets, I realized that the toolbar is duplicated for mobile, so I updated the contribute button on mobile too. I think this is complete, but let me know if there is anything else. |
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.
Thanks! Looking good
Pull Request 323
Change Summary
Changed the Contribute button text to Add Site
Moved textTransform: none up to button sx
Change Reason
Changed to avoid confusion about contributing information not money.
Verification [Optional]
Related Issue: #323