xtekky / chatgpt-clone

ChatGPT interface with better UI
https://g4f.ai
GNU General Public License v3.0
3.43k stars 1.03k forks source link

fix scrollbars for desktop and mobile site #89

Closed SergeyPolud closed 1 year ago

SergeyPolud commented 1 year ago

Before, there was a problem, when after some chatting with GPT, the scrolling was broken and the page could not be pulled down, that was mentioned in issue https://github.com/xtekky/chatgpt-clone/issues/82 . The problem was fixed by modifying CSS and adding a visibility-disabling CSS class to a HTML file. Also, fixed media queries to optimize mobile version.

arm3n commented 1 year ago

Thank you for this!

wetsand24 commented 1 year ago

wait I just cloned the repo and I have the same issue. How do i fix it ?

SergeyPolud commented 1 year ago

wait I just cloned the repo and I have the same issue. How do i fix it ?

What exactly is wrong? I just tested and used it for a day, no issues, both on desktop and mobile, can scroll and looks good

arm3n commented 1 year ago

Sergey, I imagine @wetsand24 means they pulled the repo but never changed the file based on your PR.

wetsand24 commented 1 year ago

There is no scroll bar on the chat page when chats fill up the page and go below the screen, I am unable to scroll up or down.

SergeyPolud commented 1 year ago

There is no scroll bar on the chat page when chats fill up the page and go below the screen, I am unable to scroll up or down.

I think that you did not properly applied changes. Make sure that you switch to chat_fixes branch on my cloned repo, by running "git checkout chat_fixes", then "git pull"

wetsand24 commented 1 year ago

oh that might be why. I thought your changes were on the [main branch ] ( xtekky:main ) already.

SergeyPolud commented 1 year ago

Ah, you mean on xtekky's repo? This pull request did not merged into main by xtekky, so there are no changes at his branch yet

wetsand24 commented 1 year ago

Perfect. I thought it was merged already. I got it working now from your branch. Thank you again Sir !