UI tweaking for message forwarding

This commit is contained in:
or-else
2021-10-04 15:44:22 -07:00
parent ab5f2179ea
commit 2e45ac6bf9
20 changed files with 358 additions and 350 deletions
+4 -3
View File
@@ -64,9 +64,10 @@ export default class SearchContacts extends React.PureComponent {
value={this.state.search} onChange={this.handleSearchChange}
onKeyDown={this.handleKeyDown} required autoFocus />
}</FormattedMessage>
<a href="#" onClick={this.handleClear}>
<i className="material-icons">close</i>
</a>
{this.state.search ?
<a href="#" onClick={this.handleClear}><i className="material-icons">highlight_off</i></a>
:
<span><i className="material-icons">&nbsp;</i></span>}
</div>
</div>
);