Add overlay div for neatly displaying the pieces.
This commit is contained in:
parent
4acfc0911a
commit
54d1229c9f
|
@ -15,7 +15,7 @@ renderIndex (index, color) =
|
||||||
div [ classList [ ("board-cell", True), extraClass ]
|
div [ classList [ ("board-cell", True), extraClass ]
|
||||||
, onClick (Place index)
|
, onClick (Place index)
|
||||||
]
|
]
|
||||||
[
|
[ div [ class "overlay" ] []
|
||||||
]
|
]
|
||||||
|
|
||||||
renderBoard : Int -> Board -> Html Msg
|
renderBoard : Int -> Board -> Html Msg
|
||||||
|
|
Loading…
Reference in New Issue
Block a user