add scroolbars to wide graphs. (#608)
* Add scrollbars to graph and revlist if needed. * Add border
This commit is contained in:
parent
f8c2903484
commit
f9a3aa8737
3 changed files with 6 additions and 9 deletions
|
@ -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);
|
||||
}
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue