-
-
Notifications
You must be signed in to change notification settings - Fork 279
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
Conversation
🚀 Expo preview is ready!
|
suite-native/module-home/src/screens/HomeScreen/components/EmptyConnectedDeviceState.tsx
Outdated
Show resolved
Hide resolved
suite-native/module-home/src/screens/HomeScreen/components/EmptyHomeRenderer.tsx
Outdated
Show resolved
Hide resolved
suite-native/module-home/src/screens/HomeScreen/components/EmptyHomeRenderer.tsx
Outdated
Show resolved
Hide resolved
paddingTop: utils.spacings.sp32, | ||
paddingBottom: utils.spacings.sp16, | ||
paddingHorizontal: utils.spacings.sp16, |
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 try to maintain this order – top, horizontal, bottom. Inspired by CSS:
/* top | left and right | bottom */
padding: 1em 2em 2em;
Feel free to ignore. 🙂
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.
Looks good!
6271670
to
2f0139b
Compare
/rebase |
Start rebasing: https://github.com/trezor/trezor-suite/actions/runs/12926079159 |
2f0139b
to
4f0a084
Compare
Fixes empty dashboard paddings according to this design.