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
div [ class "rooms-wrapper" ]
[ h2 [] [ text "Rooms" ]
, input [ class "room-search", type_ "text", placeholder "Search chats..." ] []
, homeserverList
]

View File

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