Created
April 16, 2018 03:11
-
-
Save drhuffman12/3e624e712c3b9439672c5c6d5129b232 to your computer and use it in GitHub Desktop.
Modify Gist Edit Textbox Height
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// xpath: '//*[@id="gists"]/div[2]/div[2]/div[2]/div' | |
// selector: '#gists > div.js-gist-file > div.file.js-code-editor.container-preview.show-code > div.commit-create > div' | |
// reset to orig: | |
$('#gists > div.js-gist-file > div.file.js-code-editor.container-preview.show-code > div.commit-create > div').style.height = '352px' | |
// expand to 600px high: | |
$('#gists > div.js-gist-file > div.file.js-code-editor.container-preview.show-code > div.commit-create > div').style.height = '600px' | |
// expand to 900px high: | |
$('#gists > div.js-gist-file > div.file.js-code-editor.container-preview.show-code > div.commit-create > div').style.height = '900px' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment