Add an (un-wired) input for searching rooms.

This commit is contained in:
Danila Fedorin 2019-05-19 13:32:57 -07:00
parent 8173a4d74a
commit a4c40dca28
2 changed files with 7 additions and 0 deletions

View File

@ -91,6 +91,7 @@ roomListView m =
in in
div [ class "rooms-wrapper" ] div [ class "rooms-wrapper" ]
[ h2 [] [ text "Rooms" ] [ h2 [] [ text "Rooms" ]
, input [ class "room-search", type_ "text", placeholder "Search chats..." ] []
, homeserverList , homeserverList
] ]

View File

@ -156,6 +156,12 @@ div.base-wrapper {
div.rooms-wrapper { div.rooms-wrapper {
flex-shrink: 0; flex-shrink: 0;
background-color: $background-color-light; background-color: $background-color-light;
.room-search {
padding: 5px;
width: 100%;
box-sizing: border-box;
}
} }
div.room-link-wrapper { div.room-link-wrapper {