add padding for the borders

main
Brian Hicks 2 years ago
parent fc2cf2e7e2
commit 950eb8805b

@ -363,10 +363,10 @@ viewSquares attrs bounds graph =
in
Svg.svg
(Attrs.viewBox
("0 0 "
++ String.fromInt (bounds.width * squareSize)
("-5 -5 "
++ String.fromInt (bounds.width * squareSize + 10)
++ " "
++ String.fromInt (bounds.height * squareSize)
++ String.fromInt (bounds.height * squareSize + 10)
)
:: attrs.container
)

Loading…
Cancel
Save