Fix GitHub Ribbon overlapping Scrollbar. Issue #1

This commit is contained in:
Gautham Warrier 2014-02-13 19:10:54 +05:30
parent 6239de16be
commit 4603399401

View File

@ -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 //Toggle Code Block Visibility
function toggleCodeBlocks() { function toggleCodeBlocks() {
var t = localStorage.getItem("toggleCodeStats") var t = localStorage.getItem("toggleCodeStats")