Grey out messages that are still sending.

This commit is contained in:
Danila Fedorin 2019-03-15 18:50:09 -07:00
parent 011630a185
commit 6e721d685b
2 changed files with 5 additions and 1 deletions

View File

@ -214,7 +214,7 @@ messageView m msg = case msg of
sendingMessageView : Model -> SendingMessage -> Html Msg
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 m re =

View File

@ -249,6 +249,10 @@ table.messages-table {
max-height: 400px;
}
.sending {
color: grey;
}
video {
max-width: 90%;
max-height: 400px;