PriyaGhosal / BuddyTrail

This repository is officially part of GirlScript Summer of Code 2024 Extended Edition !
https://buddytrail.netlify.app/
MIT License
137 stars 354 forks source link

CODE CHANGE: Adjust textarea Height to Fill Remaining Space in Contact Form #1973

Open Piyush01-672 opened 2 weeks ago

Piyush01-672 commented 2 weeks ago

Is there an existing issue for this?

Describe the code change

  1. The textarea should expand to fill the remaining vertical space in .form-group.
  2. The "Send" button should stay fixed at the bottom of the .form-group container.
  3. The tooltip and error message should display above the "Send" button without affecting the layout of the textarea. Screenshot 2024-11-09 193457

Proposed solution

  1. Use CSS flex properties within .form-group to control the height of the textarea.
  2. Apply flex: 1 to textarea to allow it to expand and fill the available space.
  3. Set align-self: flex-end on the "Send" button to ensure it remains at the bottom of the .form-group.

Record

github-actions[bot] commented 2 weeks ago

Thanks for creating the issue in BuddyTrail! Before you start working on your PR, please make sure to:

github-actions[bot] commented 2 weeks ago

Thank you for creating this issue! 🎉 Your issue will soon be reviewed by either the PA or a mentor. Please note that Level 1 is temporary and can be changed during the review. In the meantime, please make sure to provide all the necessary details and context. If you have any questions or additional information, feel free to add them here. Your contributions are highly appreciated! 😊

You can also check our CONTRIBUTING.md for guidelines on contributing to this project.

Piyush01-672 commented 2 weeks ago

pls assign the tag of level 2