-
Notifications
You must be signed in to change notification settings - Fork 801
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
Conversation
Thanks - Could we shrink the textarea with javascript so that it is the right size to avoid the box in smaller browser windows? |
I am sure we can, let me have a look. |
thanks @ossreleasefeed |
@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? |
@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 |
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. |
@FichteFoll I like your second idea, I also have another one to explore. Will do a mock and attach here. |
Key is being moved to the bottom in #351 |
This PR is stale because it has been open for 30 days with no activity. |
This PR was closed because it has been inactive for 14 days since being marked as stale. |
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.