diff --git a/js/custom.js b/js/custom.js index 5ffe9d4..c9be040 100644 --- a/js/custom.js +++ b/js/custom.js @@ -21,6 +21,9 @@ $(function() { }); }); +//Fix GitHub Ribbon overlapping Scrollbar +if ($('article')[0].scrollHeight > $('.right-column').height()) $('#github-ribbon')[0].style.right = '16px' + //Toggle Code Block Visibility function toggleCodeBlocks() { var t = localStorage.getItem("toggleCodeStats")