Skip to content

Commit

Permalink
make blocked indicators look nicer
Browse files Browse the repository at this point in the history
  • Loading branch information
BrianHicks committed Jan 10, 2020
1 parent 0e44b4c commit 0b68f93
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion src/Main.elm
Expand Up @@ -235,7 +235,16 @@ view model =
List.sum items / toFloat (List.length items)
in
if Set.isEmpty indexes then
Html.td [] [ Html.text "X" ]
Html.td
[ css
[ Css.lineHeight (Css.px 10)
, Css.fontSize (Css.px 10)
, Css.textAlign Css.center
]
, Attributes.width 10
, Attributes.height 10
]
[ Html.text "×" ]

else
Image.viewColor [ Attributes.attribute "data-count" (String.fromInt (Set.size indexes)) ]
Expand Down

0 comments on commit 0b68f93

Please sign in to comment.