add scroolbars to wide graphs. (#608)

* Add scrollbars to graph and revlist if needed.

* Add border
This commit is contained in:
Kjell Kvinge 2017-01-22 13:10:01 +01:00 committed by Lunny Xiao
parent f8c2903484
commit f9a3aa8737
3 changed files with 6 additions and 9 deletions

View file

@ -10,8 +10,4 @@ $(document).ready(function () {
})
gitGraph(document.getElementById('graph-canvas'), graphList);
if ($("#rev-container")) {
$("#rev-container").css("width", document.body.clientWidth - document.getElementById('graph-canvas').width);
}
})