Skip to content
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(suite-native): empty homescreen paddings #16529

Merged
merged 1 commit into from
Jan 23, 2025

Conversation

PeKne
Copy link
Contributor

@PeKne PeKne commented Jan 22, 2025

Fixes empty dashboard paddings according to this design.

@PeKne PeKne added the mobile Suite Lite issues and PRs label Jan 22, 2025
@PeKne PeKne added this to the Mobile - Onboarding (Part 1) milestone Jan 22, 2025
@PeKne PeKne self-assigned this Jan 22, 2025
@PeKne PeKne requested a review from a team as a code owner January 22, 2025 12:12
Copy link

github-actions bot commented Jan 22, 2025

🚀 Expo preview is ready!

  • Project → trezor-suite-preview
  • Platforms → android, ios
  • Scheme → trezorsuitelite
  • Runtime Version → 23
  • More info

Learn more about 𝝠 Expo Github Action

Comment on lines +17 to +19
paddingTop: utils.spacings.sp32,
paddingBottom: utils.spacings.sp16,
paddingHorizontal: utils.spacings.sp16,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I try to maintain this order – top, horizontal, bottom. Inspired by CSS:

/* top | left and right | bottom */
padding: 1em 2em 2em;

Feel free to ignore. 🙂

Copy link
Contributor

@yanascz yanascz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@PeKne PeKne force-pushed the fix/native/empty-homescreen-paddings branch from 6271670 to 2f0139b Compare January 23, 2025 09:22
@PeKne
Copy link
Contributor Author

PeKne commented Jan 23, 2025

/rebase

Copy link

@trezor-ci trezor-ci force-pushed the fix/native/empty-homescreen-paddings branch from 2f0139b to 4f0a084 Compare January 23, 2025 09:24
@PeKne PeKne enabled auto-merge (rebase) January 23, 2025 09:25
@PeKne PeKne merged commit c0c793f into develop Jan 23, 2025
14 checks passed
@PeKne PeKne deleted the fix/native/empty-homescreen-paddings branch January 23, 2025 09:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
mobile Suite Lite issues and PRs
Projects
Status: ✅ Approved
Development

Successfully merging this pull request may close these issues.

2 participants