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

Update chat input placeholder to be responsive #1641

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

secondtruth
Copy link

@secondtruth secondtruth commented Apr 4, 2024

Ths makes the chat input provide a responsive placeholder text that adapts to the window width.

For widths less than 768px, the placeholder shows the simplified version of the instructions from the latest version. For widths between 768px and 1280px, it provides a medium level of detail, and for widths above 1280px, it displays the full-length instructions as before.

Based on my suggestion and the code provided by @chatgpt-ai-user.

The `ChatInput` component now provides a more responsive placeholder text that adapts to the window width. For widths less than 768px, the placeholder shows the simplified version of the instructions. For widths between 768px and 1280px, it provides a medium level of detail, and for widths above 1280px, it displays the full-length instructions.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant