Skip to content

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

Merged
merged 2 commits into from
Apr 14, 2025
Merged

fix: White bar below custom network #674

merged 2 commits into from
Apr 14, 2025

Conversation

tuliomir
Copy link
Contributor

@tuliomir tuliomir commented Mar 28, 2025

Acceptance Criteria

Visualization

Replaces white with gray

Security Checklist

  • Make sure you do not include new dependencies in the project unless strictly necessary and do not include dev-dependencies as production ones. More dependencies increase the possibility of one of them being hijacked and affecting us.

Alternatives

We could also remove the spacing entirely, but it wouldn't feel correct. See below
668 before after

@tuliomir tuliomir self-assigned this Mar 28, 2025
@tuliomir tuliomir moved this from Todo to In Progress (WIP) in Hathor Network Mar 28, 2025
Copy link

@Copilot Copilot AI left a 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,

@tuliomir tuliomir moved this from In Progress (WIP) to In Progress (Done) in Hathor Network Mar 28, 2025
@@ -191,7 +191,6 @@ const TokensHeader = () => (
const styles = StyleSheet.create({
wrapper: {
flex: 1,
marginTop: 8,
Copy link
Contributor

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?

Copy link
Contributor Author

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.

@andreabadesso andreabadesso moved this from In Progress (Done) to In Review (WIP) in Hathor Network Apr 11, 2025
@tuliomir tuliomir force-pushed the fix/white-bar-network branch from b095e45 to c7eabdb Compare April 14, 2025 15:27
@tuliomir tuliomir requested a review from obiyankenobi April 14, 2025 15:29
@tuliomir tuliomir moved this from In Review (WIP) to In Progress (Done) in Hathor Network Apr 14, 2025
@pedroferreira1 pedroferreira1 moved this from In Progress (Done) to In Review (WIP) in Hathor Network Apr 14, 2025
@tuliomir tuliomir merged commit 9ece4cf into master Apr 14, 2025
1 check passed
@github-project-automation github-project-automation bot moved this from In Review (WIP) to Waiting to be deployed in Hathor Network Apr 14, 2025
@tuliomir tuliomir deleted the fix/white-bar-network branch April 14, 2025 18:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Waiting to be deployed
Development

Successfully merging this pull request may close these issues.

Remove white space below "Custom Network" header
4 participants