-
Notifications
You must be signed in to change notification settings - Fork 4.6k
fix(ui): iOS PWA should take full screen height #2391
Conversation
756c79d to
85f825e
Compare
zachgoll
left a comment
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.
|
@zachgoll Thanks for the feedback. My bad for removing I have reverted some of the changes and only focus on 4 things:
Edit: added dialog padding. |
|
@KenTandrian can you fix also modals? I can't close. |
|
@albertorizzi done! |
|
Wow! Thanks a lot!😍 |
|
Your PR #2410 fix also the Current Market Price "Unknown" in these screens? |
Yes, I think that should be covered since |
I don't think it's related to PWA screen height? It should be a separate issue. |
|
Hi @zachgoll, a gentle follow up on this PR. I've pushed fixes to address the desktop regressions you pointed out and have also resolved the modal issue reported by @albertorizzi. I believe all requested changes are complete. Please let me know if there's anything else needed when you have a moment. Thanks! |
zachgoll
left a comment
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.
Hey @KenTandrian, sorry this is a bit of a tough one to review just given this will affect every page in our app.
I haven't had a chance to dig deeply into this yet, but my gut tells me we really need to keep that existing "global padding" intact on our html element, then apply specific padding/margin adjustments to things like our Dialog to make them look good on mobile. Changing the global property to margin introduces a lot of weird UI states on "full-bleed" sections as I had screenshotted earlier, so I don't think we should be using that here.
So I think in summary what we should probably do is:
- Revert global CSS changes (keep existing padding safe areas)
- Apply specific safe area padding to fixed elements like dialogs, mobile navs, etc.
|
Hey @zachgoll, it's tricky to implement this without touching the To illustrate why, I have reverted all my changes and added borders to highlight the default sizing:
Do you have any ideas on how we could address the |
d2debd8 to
a1a05c8
Compare




This PR fixes #2342, which comprises these issues:
Changes
env(safe-area-inset-top)as top margin instead of top padding forhtml.safe-area-inset-bottompadding from the bottom navigation component sincehtmlhas it.bodyadapts background color by dynamically setting it tobg-surface.After