mirror of
https://github.com/correl/planning-poker.git
synced 2024-11-22 03:00:12 +00:00
Style the player list
This commit is contained in:
parent
a49612b3ba
commit
ae42bccd9c
2 changed files with 17 additions and 1 deletions
|
@ -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)
|
||||||
}
|
}
|
||||||
|
|
|
@ -31,6 +31,7 @@ colors =
|
||||||
|
|
||||||
fontSizes =
|
fontSizes =
|
||||||
{ huge = 80
|
{ huge = 80
|
||||||
|
, big = 30
|
||||||
, normal = 18
|
, normal = 18
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue