Skip to content

Commit

Permalink
add padding for the borders
Browse files Browse the repository at this point in the history
  • Loading branch information
BrianHicks committed Feb 16, 2022
1 parent fc2cf2e commit 950eb88
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Maze.elm
Expand Up @@ -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
)
Expand Down

0 comments on commit 950eb88

Please sign in to comment.