mirror of
https://github.com/go-gitea/gitea
synced 2025-07-22 18:28:37 +00:00
add scroolbars to wide graphs. (#608)
* Add scrollbars to graph and revlist if needed. * Add border
This commit is contained in:
@@ -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);
|
||||
}
|
||||
})
|
||||
|
Reference in New Issue
Block a user