Code insights: SVG doesn't shrink properly when the legend block doesn't have enough space
View options
- Truncate descriptions
Created by: vovakulikov
Step to reproduce
- Open the dashboard page
- Find an insight with more than one legend block
- Resize the page until the legend block of the insight moves the legend item on the second line
- See that the moved legend item is out of the card visually

Expected behaviour
- SVG chart container should shrink if there is not enough space to render the whole legend block