Multiple UI improvements (#3317)
Removing break all Replacing jquery selectors and some other UI improvements Removing jquery selector
Этот коммит содержится в:
коммит произвёл
Joram Wilander
родитель
af4110b2ed
Коммит
f6b4a611d0
@@ -370,6 +370,15 @@ export default class Sidebar extends React.Component {
|
||||
this.setState({showDirectChannelsModal: false});
|
||||
}
|
||||
|
||||
openLeftSidebar() {
|
||||
if (Utils.isMobile()) {
|
||||
setTimeout(() => {
|
||||
document.querySelector('.app__body .inner-wrap').classList.add('move--right');
|
||||
document.querySelector('.app__body .sidebar--left').classList.add('move--right');
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
createTutorialTip() {
|
||||
const screens = [];
|
||||
|
||||
@@ -535,6 +544,7 @@ export default class Sidebar extends React.Component {
|
||||
let tutorialTip = null;
|
||||
if (this.state.showTutorialTip && channel.name === Constants.DEFAULT_CHANNEL) {
|
||||
tutorialTip = this.createTutorialTip();
|
||||
this.openLeftSidebar();
|
||||
}
|
||||
|
||||
let link = '';
|
||||
|
||||
Ссылка в новой задаче
Block a user