Last active
January 18, 2019 13:30
-
-
Save PhilippGrulich/9dbed0f7559694f78a6ee5959eaf52e8 to your computer and use it in GitHub Desktop.
Extend very large folder name on GitHub. For example in the Graal Repo
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
var content = document.querySelectorAll(".js-navigation-item .content"); | |
var message = document.querySelectorAll(".js-navigation-item .message"); | |
if(content[0].style.maxWidth=="550px"){ | |
content.forEach(x=> x.style.maxWidth=""); message.forEach(x=> x.style.maxWidth=""); | |
}else{ | |
content.forEach(x=> x.style.maxWidth="550px"); message.forEach(x=> x.style.maxWidth="100px"); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment