chatgpt-clone icon indicating copy to clipboard operation
chatgpt-clone copied to clipboard

fix scrollbars for desktop and mobile site

Open SergeyPolud opened this issue 2 years ago • 9 comments

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.

SergeyPolud avatar May 03 '23 16:05 SergeyPolud

Thank you for this!

arm3n avatar May 05 '23 17:05 arm3n

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

wetsand24 avatar May 05 '23 17:05 wetsand24

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

SergeyPolud avatar May 05 '23 20:05 SergeyPolud

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

arm3n avatar May 05 '23 20:05 arm3n

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.

wetsand24 avatar May 05 '23 20:05 wetsand24

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"

SergeyPolud avatar May 05 '23 20:05 SergeyPolud

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

wetsand24 avatar May 05 '23 20:05 wetsand24

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

SergeyPolud avatar May 05 '23 20:05 SergeyPolud

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

wetsand24 avatar May 05 '23 20:05 wetsand24