Change highlighting around the room list filter

This commit is contained in:
Michael Telatynski 2020-08-17 16:59:29 +01:00
parent b9f22aa569
commit a4d11cc190
7 changed files with 31 additions and 11 deletions

View file

@ -126,7 +126,8 @@ export default class RoomSearch extends React.PureComponent<IProps, IState> {
public render(): React.ReactNode {
const classes = classNames({
'mx_RoomSearch': true,
'mx_RoomSearch_expanded': this.state.query || this.state.focused,
'mx_RoomSearch_hasQuery': this.state.query,
'mx_RoomSearch_focused': this.state.focused,
'mx_RoomSearch_minimized': this.props.isMinimized,
});