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

Allow input textboxes to be resized #64

Open
cellio opened this issue Mar 23, 2022 · 0 comments
Open

Allow input textboxes to be resized #64

cellio opened this issue Mar 23, 2022 · 0 comments
Labels
area: components Changes to design components type: feature request New feature or request

Comments

@cellio
Copy link
Member

cellio commented Mar 23, 2022

Request from here: https://software.codidact.com/posts/285911

When editing an answer, a user would like to be able to make the text area wider, taking priority over the right column if anything's there. For math or code the extra width can make editing easier.

It appears that we set resize: none in the CSS here:

$textarea-resize: none !default;
. I don't know what the negative effects would be of removing that. I think, based on https://developer.mozilla.org/en-US/docs/Web/CSS/resize, that both is what would be needed to allow the user to resize. I don't know if we have to set that explicitly or if that's the default. (I note that my browser doesn't offer me resizing on this GitHub textbox.)

I don't see any harm in allowing users to choose to make post textboxes wider when they're editing, but I am pretty green with CSS. I'm also guessing that no change is needed in qpixel other than picking up an updated co-design; a grep for textarea-resize in qpixel turned up nothing, so I don't think it's being set there.

@cellio cellio added type: feature request New feature or request area: components Changes to design components labels Mar 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: components Changes to design components type: feature request New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant