Grey out messages that are still sending.
This commit is contained in:
parent
011630a185
commit
6e721d685b
|
@ -214,7 +214,7 @@ messageView m msg = case msg of
|
||||||
|
|
||||||
sendingMessageView : Model -> SendingMessage -> Html Msg
|
sendingMessageView : Model -> SendingMessage -> Html Msg
|
||||||
sendingMessageView m msg = case msg.body of
|
sendingMessageView m msg = case msg.body of
|
||||||
TextMessage t -> text t
|
TextMessage t -> span [ class "sending"] [ text t ]
|
||||||
|
|
||||||
roomEventView : Model -> RoomEvent -> Maybe (Html Msg)
|
roomEventView : Model -> RoomEvent -> Maybe (Html Msg)
|
||||||
roomEventView m re =
|
roomEventView m re =
|
||||||
|
|
|
@ -249,6 +249,10 @@ table.messages-table {
|
||||||
max-height: 400px;
|
max-height: 400px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.sending {
|
||||||
|
color: grey;
|
||||||
|
}
|
||||||
|
|
||||||
video {
|
video {
|
||||||
max-width: 90%;
|
max-width: 90%;
|
||||||
max-height: 400px;
|
max-height: 400px;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user