xtekky / chatgpt-clone

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

Fixed bottom black bar for large devices #72

Closed Zeus2480 closed 1 year ago

Zeus2480 commented 1 year ago

Title

Fix black bar issue for large devices

Screenshot_25

Description

This pull request fixes the issue of a black bar appearing at the bottom of the screen for large devices. The problem was caused by incorrect calculation of screen height in the code.

Changes Made

To fix this issue, I changed the height property from height: 100vh to min-height: 100vh in the relevant section of the code. This ensures that the element will take up at least the full height of the viewport, regardless of the size of the device screen.

Testing

I have tested this fix on a variety of devices with different screen sizes, and the black bar no longer appears.

Please review this pull request and let me know if any changes are needed. Thank you for considering my contribution!

Screenshot_26