Skip to content

Instantly share code, notes, and snippets.

@kanonji
Created March 30, 2023 10:55
Show Gist options
  • Save kanonji/0b2fa1c6b9488cc65dcb5aff48070f9c to your computer and use it in GitHub Desktop.
Save kanonji/0b2fa1c6b9488cc65dcb5aff48070f9c to your computer and use it in GitHub Desktop.
GitHubのissueにて埋め込みコードの縦幅を広げるbookmarklet "Expand embedded height"
javascript:(function(){Array.from(document.getElementsByClassName("blob-wrapper-embedded")).forEach(e=>{e.style.maxHeight="initial"});})();
(function(){
Array.from(document.getElementsByClassName('blob-wrapper-embedded')).forEach(elem => {
elem.style.maxHeight = 'initial'
})
})()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment