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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

<textarea> Resizing Issue Fix #17

Merged
merged 1 commit into from
Nov 12, 2023
Merged

<textarea> Resizing Issue Fix #17

merged 1 commit into from
Nov 12, 2023

Conversation

CodeShady
Copy link
Contributor

馃憢 Hi @UdaraJay and @khakimov!

This is a super small detail, but what are your thoughts on this?

Before

Screenshot 2023-11-09 at 4 25 17 PM

After

Screenshot 2023-11-09 at 4 25 44 PM

Details

Updated the textarea element within the settings page with two changes:

  • The <textarea> now cannot be resized, and is always set to fill 100% of its container (width: 100%).
  • The placeholder="..." is now "Enter your own prompt for AI reflections" instead of "Paste an OpenAI API key to enable AI reflections". You can't see this because the <textarea> is currently readonly, but I assume this will change in the near future. (Feel free to change the this!)

Side note: In the future when users are able to edit their AI prompt, maybe deleting resize: none; and allowing the user to resize the <textarea> vertically would be a good idea.

Updated the textarea element within the settings page with two changes:
- The textarea now cannot be resized, and is always set to fill 100% of its container.
- The placeholder is now "Enter your own prompt for AI reflections" instead of "Paste an OpenAI API key to enable AI reflections". You can't see this because the textarea is currently readonly, but I assume this will change in the near future.
@UdaraJay
Copy link
Owner

This looks good! :) Will be merged into the next release!

@UdaraJay UdaraJay merged commit 147064d into UdaraJay:main Nov 12, 2023
2 of 5 checks passed
UdaraJay added a commit to khakimov/Pile that referenced this pull request Dec 31, 2023
<textarea> Resizing Issue Fix
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

2 participants