-
Notifications
You must be signed in to change notification settings - Fork 9
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
Increase the height of the code boxes, make textarea vertically resizable #1
base: gh-pages
Are you sure you want to change the base?
Conversation
@kcherkashin thanks for the pull request. The textareas are supposed to resize automatically as they do in Chrome. I just noticed that this behavior is broken in Firefox. I'd like to reproduce the expected behavior instead of introduce new behavior. Also note that the style.scss file is unminified/preprocessed so I couldn't view your version at http://kcherkashin.github.io/live-demo/ and we'd need to run "grunt build" to produce the compressed to be committed for the actual site (which is hosted on Github pages). |
Trey, thanks for the reply, I updated the css, so you can see the result at: http://kcherkashin.github.io/live-demo/ Currently the textarea is not being resized for me in any browser: debugger says the code is trying to use forEach on a NodeList, which shouldn't work anywhere. It should be an easy fix, let me take a quick look at it. |
Trey, I'm looking at vquery.js file, it has a |
Hm, looks like it's my chrome which is special, which version do you have? |
33.0.1750.152 (Developer Build 256984) Ubuntu 13.10 |
Just realized that in Chrome HTMLCollection is returned. The fix should look like this:
|
Make textarea 200px tall by default.
Trey, I added the prototype hack to make forEach work, http://kcherkashin.github.io/live-demo/ What do you think? |
See the screenshot below