-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Add style option to center textarea #3368
Comments
The Are there any specific options you want to customize? We will rework the send box in #2211. |
Just looking to get a field |
I think we should center it by default. 😉 |
Awesome! |
Some preliminary study on the layout here. You can study the code to understand how the doppelganger work. This is vertically aligned. https://compulim.github.io/playpen-textarea-doppelganger/ Still need to clean up the CSS a bit. Feel free to file PR over there for suggestions. Please try your best to break it. When it's broken, you will see weird shadow behind the text, like wearing a red-green 3D glasses. 😉 Will eventually move the JS/CSS there back to this repository.
|
I cleaned up the CSS over there. Need help from someone who can help copying the styles here, add tests, etc. |
Added to backlog - will look to prioritize for an upcoming release. |
The icon of send box button is not centered vertically. It is filed as #3672. |
Feature Request
When using the following style options:
you get a textarea instead of an input for user input.
This textarea alligns with the top.
There's also a div behind it, probably for accessibility, with the same dimensions.
Current:
Desired:
The text was updated successfully, but these errors were encountered: