diff options
author | Corey Hulen <corey@hulen.com> | 2015-12-18 20:54:17 -0800 |
---|---|---|
committer | Corey Hulen <corey@hulen.com> | 2015-12-18 20:54:17 -0800 |
commit | 0153bc6342392ea9fd17f91bebf50d44cabef789 (patch) | |
tree | 1ffa768fb5796da6145f13ee9f2e766f2f668c61 /web/react/components/settings_sidebar.jsx | |
parent | bb9cb1029539b179725a586057c39507597300de (diff) | |
parent | 3d0249c8bc2d5f12f8528dd0fcb7d02c66bee626 (diff) | |
download | chat-0153bc6342392ea9fd17f91bebf50d44cabef789.tar.gz chat-0153bc6342392ea9fd17f91bebf50d44cabef789.tar.bz2 chat-0153bc6342392ea9fd17f91bebf50d44cabef789.zip |
Merge pull request #1751 from asaadmahmoodspin/ui-improvements
Multiple UI Improvements
Diffstat (limited to 'web/react/components/settings_sidebar.jsx')
-rw-r--r-- | web/react/components/settings_sidebar.jsx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/web/react/components/settings_sidebar.jsx b/web/react/components/settings_sidebar.jsx index 4af46c35a..271ea9a41 100644 --- a/web/react/components/settings_sidebar.jsx +++ b/web/react/components/settings_sidebar.jsx @@ -1,6 +1,8 @@ // Copyright (c) 2015 Mattermost, Inc. All Rights Reserved. // See License.txt for license information. +import * as Utils from '../utils/utils.jsx'; + export default class SettingsSidebar extends React.Component { componentDidUpdate() { $('.settings-modal').find('.modal-body').scrollTop(0); @@ -16,6 +18,11 @@ export default class SettingsSidebar extends React.Component { this.props.updateTab(tab.name); $(e.target).closest('.settings-modal').addClass('display--content'); } + componentDidMount() { + if (Utils.isBrowserFirefox()) { + $('.settings-modal .settings-table .nav').addClass('position--top'); + } + } render() { let tabList = this.props.tabs.map(function makeTab(tab) { let key = `${tab.name}_li`; |