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

lessen textarea width to avoid text hiding behind key #60

Closed
wants to merge 1 commit into from
Closed

lessen textarea width to avoid text hiding behind key #60

wants to merge 1 commit into from

Conversation

ghost
Copy link

@ghost ghost commented Apr 7, 2014

Love hastebin.com but sometimes it get's annoying whenyou have long lines of text and it end up obscured but the 'key' i.e. little box, top left. This prevents that from happening.

@seejohnrun
Copy link
Contributor

Thanks - Could we shrink the textarea with javascript so that it is the right size to avoid the box in smaller browser windows?

@ghost
Copy link
Author

ghost commented Apr 15, 2014

I am sure we can, let me have a look.

@seejohnrun
Copy link
Contributor

thanks @ossreleasefeed

@ghost
Copy link
Author

ghost commented Aug 4, 2014

@seejohnrun So it has been ages since I looked at this ;p And, I actually meant to ask you, why use JS and not CSS?

@seejohnrun
Copy link
Contributor

@ossreleasefeed no problem :) If you do this with CSS as a percentage, when you shrink the browser window you're going to end up with the same problem. Also at larger resolutions, you'll be losing usable space

@FichteFoll
Copy link

Didn't look at it, but how about a fixed margin-right on the textarea instead?

Though, it would probably look weird for the textarea to leave space empty in a sidebar-like fashion, even though there is only a single box.

I guess the "ultimate" solution to this is to remove the box completely and place its contents at the very top of the page, either fixed or absolute. It would visually take more space but in fact leave more for the textarea to use.

@ghost
Copy link
Author

ghost commented Aug 7, 2014

@FichteFoll I like your second idea, I also have another one to explore. Will do a mock and attach here.

@seejohnrun
Copy link
Contributor

Key is being moved to the bottom in #351

@github-actions
Copy link

github-actions bot commented Mar 8, 2022

This PR is stale because it has been open for 30 days with no activity.

@github-actions github-actions bot added the stale label Mar 8, 2022
@github-actions
Copy link

This PR was closed because it has been inactive for 14 days since being marked as stale.

@github-actions github-actions bot closed this Mar 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants