Skip to content
Snippets Groups Projects
Closed Code insights: SVG doesn't shrink properly when the legend block doesn't have enough space
  • View options
  • Code insights: SVG doesn't shrink properly when the legend block doesn't have enough space

  • View options
  • Closed Issue created by Administrator

    Created by: vovakulikov

    Step to reproduce

    1. Open the dashboard page
    2. Find an insight with more than one legend block
    3. Resize the page until the legend block of the insight moves the legend item on the second line
    4. See that the moved legend item is out of the card visually
    Screenshot 2022-05-16 at 17 16 23

    Expected behaviour

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

    Activity

    • All activity
    • Comments only
    • History only
    • Newest first
    • Oldest first