Add an (un-wired) input for searching rooms.
This commit is contained in:
parent
8173a4d74a
commit
a4c40dca28
|
@ -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
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user