Add overlay div for neatly displaying the pieces.

This commit is contained in:
Danila Fedorin 2018-05-25 17:27:59 -07:00
parent 4acfc0911a
commit 54d1229c9f

View File

@ -15,7 +15,7 @@ renderIndex (index, color) =
div [ classList [ ("board-cell", True), extraClass ]
, onClick (Place index)
]
[
[ div [ class "overlay" ] []
]
renderBoard : Int -> Board -> Html Msg