Scroll bar for bpmn canvas

I am trying to add vertical and horizontal scroll bar to bpmn diagram. i tried using css but facing issue. any other way to do this.

What are the scroll bars supposed to scroll? Unless you limit the size of the canvas scroll bars don’t really work since the canvas is infinite.