Merge pull request #1420 from asaadmahmoodspin/release-1.2
UI changes for Direct messages and Bad connection
Этот коммит содержится в:
@@ -50,6 +50,10 @@ export default class MoreDirectChannels extends React.Component {
|
|||||||
handleFilterChange() {
|
handleFilterChange() {
|
||||||
const filter = ReactDOM.findDOMNode(this.refs.filter).value;
|
const filter = ReactDOM.findDOMNode(this.refs.filter).value;
|
||||||
|
|
||||||
|
if ($(window).width() > 768) {
|
||||||
|
$(ReactDOM.findDOMNode(this.refs.userList)).scrollTop(0);
|
||||||
|
}
|
||||||
|
|
||||||
if (filter !== this.state.filter) {
|
if (filter !== this.state.filter) {
|
||||||
this.setState({filter});
|
this.setState({filter});
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -16,7 +16,8 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.bad-connection {
|
.bad-connection {
|
||||||
background-color: rgb(255, 255, 172) !important;
|
background: #ffffac !important;
|
||||||
|
color: #D04444 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.textarea-div {
|
.textarea-div {
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user