Make some view adjustments.
This commit is contained in:
		
							parent
							
								
									47a684b777
								
							
						
					
					
						commit
						8560f15047
					
				| @ -156,6 +156,7 @@ joinedRoomView m roomId rd = | |||||||
|                 [ rows 1 |                 [ rows 1 | ||||||
|                 , onInput <| ChangeRoomText roomId |                 , onInput <| ChangeRoomText roomId | ||||||
|                 , onEnterKey <| SendRoomText roomId |                 , onEnterKey <| SendRoomText roomId | ||||||
|  |                 , placeholder "Type your message here..." | ||||||
|                 , value <| Maybe.withDefault "" <| Dict.get roomId m.roomText |                 , value <| Maybe.withDefault "" <| Dict.get roomId m.roomText | ||||||
|                 ]  [] |                 ]  [] | ||||||
|             , button [ onClick <| SendFiles roomId ] [ iconView "file" ] |             , button [ onClick <| SendFiles roomId ] [ iconView "file" ] | ||||||
| @ -166,8 +167,8 @@ joinedRoomView m roomId rd = | |||||||
|         div [ class "room-wrapper" ] |         div [ class "room-wrapper" ] | ||||||
|             [ h2 [] [ text <| roomDisplayName m rd.joinedRoom ] |             [ h2 [] [ text <| roomDisplayName m rd.joinedRoom ] | ||||||
|             , messagesWrapper |             , messagesWrapper | ||||||
|             , typingWrapper |  | ||||||
|             , messageInput |             , messageInput | ||||||
|  |             , typingWrapper | ||||||
|             ] |             ] | ||||||
| 
 | 
 | ||||||
| onEnterKey : Msg -> Attribute Msg | onEnterKey : Msg -> Attribute Msg | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user