-
Notifications
You must be signed in to change notification settings - Fork 49
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
fix: CSS and default reward token symbol #176
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
@@ -15,6 +15,7 @@ module.exports = { | |||
'indent': 'off', | |||
'@typescript-eslint/indent': ['error', 'tab'], | |||
'no-multi-spaces': ['error', {ignoreEOLComments: false}], | |||
'no-mixed-spaces-and-tabs': 'error' | |||
'no-mixed-spaces-and-tabs': 'error', | |||
'react/jsx-max-props-per-line': 'off' |
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 don't like the rule of X number of props per line, if the prop name or value are smallish then it's more than fine to have them in the same line :)
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.
DRYed a bit the code, there was a bit of repetition
</p> | ||
</div> | ||
)} | ||
<div className={'mt-2 space-y-2 md:mt-0'}> |
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.
The real fix, add margin top when in mobile view, as this div
falls underneath the previous one and didn't have margin
Description
Fix CSS and add a default reward token symbol
Related Issue
Fix #174
Motivation and Context
No issues in the UI
How Has This Been Tested?
Ran locally:
Screenshots (if appropriate):
CSS issue
Reward token symbol missing