AllYourBot / hostedgpt

An open version of ChatGPT you can host anywhere or run locally.
MIT License
269 stars 111 forks source link

Padding and inset fixes #418

Closed jasonpaulso closed 1 week ago

jasonpaulso commented 3 weeks ago
jasonpaulso commented 2 weeks ago
krschacht commented 2 weeks ago

@jasonpaulso Okay, yes, the tailwind loading issues are fixed and the page is now stretching to the bottom of the screen. So there is no bottom space problem any longer.

However, on my screen I was seeing the disclaimer text (HostedGPT can make mistakes) appearing beneath the iOS bottom screen grab handle (my iPad does not have a home button, it's the handle as the home button). I've been meaning to remove that text so I did that and left the div and that fixed it. :) But it's a bit sloppy because there is a div with an   and nothing else. Do you know how we can fix that so we don't have to leave the empty div or should we just leave it?

Also, while we're working on this page height stuff, in dark mode I still have a white top status bar. I did a little googling and realized we can simply change apple-mobile-web-app-status-bar-style meta tag from default (it's current value) to black-translucent. When I did this, the status bar now changes from white to dark based on light/dark mode! BUT... translucent causes the status bar to no longer have a height so the entire app slides up, re-exposing a white gap at the bottom of the screen.

I just did one commit. It contains the   fix but I reverted the app-status-bar back to default. Try pulling down this branch, change that to black-translucent and then—notably—you have to delete the PWA icon and re-add it in order for this to get picked up (not sure why). Any ideas on how to fix this?

krschacht commented 1 week ago

@jasonpaulso I went ahead and merged in, but if you have any thoughts on those two ^, let me know.

jasonpaulso commented 1 week ago

Yes! I do have thoughts! Well, about the status bar thing at least. I’ll have to look into the “ ” thing a bit to understand before I express any notion there. I haven’t been able to dig into this as much as I'd like over the past few weeks, but I expect to have a fair bit of time this week! I’ll let you know when I have comment or solutions.

On Jul 1, 2024, at 11:28 AM, Keith Schacht @.***> wrote:

@jasonpaulso https://github.com/jasonpaulso I went ahead and merged in, but if you have any thoughts on those two ^, let me know.

— Reply to this email directly, view it on GitHub https://github.com/AllYourBot/hostedgpt/pull/418#issuecomment-2200462725, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACT5ZUQMMJMCCRZ5225NDGDZKFYTVAVCNFSM6AAAAABJOUGAOWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMBQGQ3DENZSGU. You are receiving this because you were mentioned.

krschacht commented 1 week ago

Great! And I just fixed the   thing in another branch so ignore that one. I'll merge that in shortly (hopefully today but maybe tomorrow).