SCanvas for some reason does not scale to content

Canvas for some reason does not scale to content (2 images)
As a result, images overlap with other categories.
Prompt please that it is possible to make that the canvas was scaled on images?