ADding utilis mobile instead of width
Этот коммит содержится в:
@@ -54,11 +54,11 @@ export default class MoreDirectChannels extends React.Component {
|
|||||||
}
|
}
|
||||||
|
|
||||||
onShow() {
|
onShow() {
|
||||||
if (!Utils.isMobile()) {
|
if (Utils.isMobile()) {
|
||||||
|
$(ReactDOM.findDOMNode(this.refs.userList)).css('max-height', $(window).height() - 250);
|
||||||
|
} else {
|
||||||
$(ReactDOM.findDOMNode(this.refs.userList)).perfectScrollbar();
|
$(ReactDOM.findDOMNode(this.refs.userList)).perfectScrollbar();
|
||||||
$(ReactDOM.findDOMNode(this.refs.userList)).css('max-height', $(window).height() - 300);
|
$(ReactDOM.findDOMNode(this.refs.userList)).css('max-height', $(window).height() - 300);
|
||||||
} else {
|
|
||||||
$(ReactDOM.findDOMNode(this.refs.userList)).css('max-height', $(window).height() - 250);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user