Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix prompt field width issues (full width flash) #84

Closed
1 task done
itsmartashub opened this issue Dec 9, 2024 · 0 comments
Closed
1 task done

Fix prompt field width issues (full width flash) #84

itsmartashub opened this issue Dec 9, 2024 · 0 comments
Assignees
Labels
Bug Something isn't working Customization: Width GPThemes Customization area related to Custom Widths Status: Already Implemented A proposal which has already been implemented before

Comments

@itsmartashub
Copy link
Owner

itsmartashub commented Dec 9, 2024

The prompt field is currently displaying as full width for a second when the page is refreshed, or it remains full width all the time when the floating button is not loaded (when there's React minified error on the ChatGPT side #65). This issue is due to recent changes in the ChatGPT code, which do not define the width of the prompt field precisely. To address this, the prompt field's width has been set to initial, and now it has to be a max-width of 48rem.

  • Update the prompt field max-width from initial to 48rem for css and js (custom width defaults)
@itsmartashub itsmartashub added the Bug Something isn't working label Dec 9, 2024
@itsmartashub itsmartashub self-assigned this Dec 9, 2024
itsmartashub added a commit that referenced this issue Dec 9, 2024
… full-width issue (#84)

- Updated the prompt field's width from "initial" and set max-width to "48rem" in CSS and JS (custom width defaults)
- Ensured the prompt field does not display as full width on page refresh or when the floating button is not loaded
- Addressed the issue caused by recent changes in the ChatGPT code

Changes summary:
    - Fixed the prompt field's full-width issue by setting its "max-width" to "48rem".
    - Ensured consistent and precise width for the prompt field to prevent layout issues.
@itsmartashub itsmartashub changed the title Fix prompt field width issues and adjust default chat width Fix prompt field width issues (full width flash) Dec 9, 2024
@itsmartashub itsmartashub added Customization: Width GPThemes Customization area related to Custom Widths Status: Already Implemented A proposal which has already been implemented before labels Dec 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working Customization: Width GPThemes Customization area related to Custom Widths Status: Already Implemented A proposal which has already been implemented before
Projects
None yet
Development

No branches or pull requests

1 participant