-
Notifications
You must be signed in to change notification settings - Fork 26
fix: White bar below custom network #674
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
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.
Pull Request Overview
This PR aims to fix the white bar issue observed below the custom network by removing the extra top margin in the dashboard's style.
- Removed the "marginTop: 8" property from the wrapper style to adjust layout spacing
Comments suppressed due to low confidence (1)
src/screens/Dashboard.js:193
- Verify that the removal of marginTop does not affect layout spacing on different screen sizes. Although it resolves the issue of the white bar, it's important to confirm there are no unintended layout shifts introduced elsewhere.
marginTop: 8,
@@ -191,7 +191,6 @@ const TokensHeader = () => ( | |||
const styles = StyleSheet.create({ | |||
wrapper: { | |||
flex: 1, | |||
marginTop: 8, |
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.
Should we keep the margin, but paint the background with the same grey color as the rest?
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.
Implemented this on c7eabdb. Indeed it looks better.
b095e45
to
c7eabdb
Compare
Acceptance Criteria
Visualization
Security Checklist
Alternatives
We could also remove the spacing entirely, but it wouldn't feel correct. See below
