fix(task/diagram): suppress unnecessary scroll bar

related to #CAM-2652