Give icons fixed width so that they are not crammed together
This commit is contained in:
parent
73ec701b06
commit
9d6f4d2902
|
@ -80,25 +80,25 @@ dayEventInstanceIcons eventInstance =
|
||||||
case eventInstance.videoState of
|
case eventInstance.videoState of
|
||||||
"has-recording" ->
|
"has-recording" ->
|
||||||
[ i
|
[ i
|
||||||
[ classList [ ( "fa", True ), ( "fa-film", True ), ( "pull-right", True ) ] ]
|
[ classList [ ( "fa", True ), ( "fa-film", True ), ( "pull-right", True ), ( "fa-fw", True ) ] ]
|
||||||
[]
|
[]
|
||||||
]
|
]
|
||||||
|
|
||||||
"to-be-recorded" ->
|
"to-be-recorded" ->
|
||||||
[ i
|
[ i
|
||||||
[ classList [ ( "fa", True ), ( "fa-video-camera", True ), ( "pull-right", True ) ] ]
|
[ classList [ ( "fa", True ), ( "fa-video-camera", True ), ( "pull-right", True ), ( "fa-fw", True ) ] ]
|
||||||
[]
|
[]
|
||||||
]
|
]
|
||||||
|
|
||||||
"not-to-be-recorded" ->
|
"not-to-be-recorded" ->
|
||||||
[ i
|
[ i
|
||||||
[ classList [ ( "fa", True ), ( "fa-ban", True ), ( "pull-right", True ) ] ]
|
[ classList [ ( "fa", True ), ( "fa-ban", True ), ( "pull-right", True ), ( "fa-fw", True ) ] ]
|
||||||
[]
|
[]
|
||||||
]
|
]
|
||||||
|
|
||||||
_ ->
|
_ ->
|
||||||
[]
|
[]
|
||||||
in
|
in
|
||||||
[ i [ classList [ ( "fa", True ), ( "fa-" ++ eventInstance.locationIcon, True ), ( "pull-right", True ) ] ] []
|
[ i [ classList [ ( "fa", True ), ( "fa-" ++ eventInstance.locationIcon, True ), ( "pull-right", True ), ( "fa-fw", True ) ] ] []
|
||||||
]
|
]
|
||||||
++ videoIcon
|
++ videoIcon
|
||||||
|
|
Loading…
Reference in a new issue