Style the player list

This commit is contained in:
Correl Roush 2020-05-18 21:45:54 -04:00
parent a49612b3ba
commit ae42bccd9c
2 changed files with 17 additions and 1 deletions

View file

@ -319,7 +319,15 @@ viewPlayers playerList showVotes =
, width = fill , width = fill
, view = , view =
\player -> \player ->
el [ padding 10 ] el
[ padding 10
, Border.widthEach
{ bottom = 1
, left = 0
, right = 0
, top = 0
}
]
(text player.name) (text player.name)
} }
, { header = none , { header = none
@ -336,7 +344,14 @@ viewPlayers playerList showVotes =
in in
el el
[ padding 10 [ padding 10
, Border.widthEach
{ bottom = 1
, left = 0
, right = 0
, top = 0
}
, Font.alignRight , Font.alignRight
, Font.bold
] ]
(text <| Maybe.withDefault " " vote) (text <| Maybe.withDefault " " vote)
} }

View file

@ -31,6 +31,7 @@ colors =
fontSizes = fontSizes =
{ huge = 80 { huge = 80
, big = 30
, normal = 18 , normal = 18
} }