le-git-graph
le-git-graph copied to clipboard
Bug Fix: Preventing Cutoff of Graph on the Left Side
Bug Fix for issue #79 This is a commit to help increase support for larger number of lines to run without any one getting cut in a graph.
Original Behavior:
Graph gets cut off on the left side ( see yellow ). Worsening User experience
Updated Behavior:
Width of the graph container dynamically changes based on the number of lines.
To fix the bug, a new variable named maxX was added and it was updated based on the number of lines. This was then set as the width of the graph Container div