Fix spacing in fallback case
This commit is contained in:
parent
77097fb952
commit
840cf62350
|
@ -85,7 +85,7 @@ GitHub.prototype.updateLayout = function(sidebarVisible, sidebarWidth) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// falls-back if GitHub DOM has been updated
|
// falls-back if GitHub DOM has been updated
|
||||||
else $('html').css('margin-left', sidebarVisible ? sidebarWidth - spacing : '')
|
else $('html').css('margin-left', sidebarVisible ? sidebarWidth + spacing : '')
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue