Skip to content

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

@Piyush01-672

Description

@Piyush01-672

Is there an existing issue for this?

  • I have searched the existing issues

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

  • I agree to follow this project's Code of Conduct
  • I'm a GSSOC'24 contributor
  • I want to work on this issue

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions