diff options
author | Asaad Mahmood <asaad@spinpunch.com> | 2015-12-07 21:18:03 +0500 |
---|---|---|
committer | Asaad Mahmood <asaad@spinpunch.com> | 2015-12-07 21:18:03 +0500 |
commit | 901b830f2d5809d55890508b99ef5a868aace4e4 (patch) | |
tree | 97d31ef82c230aec4ad87be1a94a4a4232bcb6d6 /web/react/components/user_settings | |
parent | b06f11fd632f146a204b4ef1357a8c099bade072 (diff) | |
download | chat-901b830f2d5809d55890508b99ef5a868aace4e4.tar.gz chat-901b830f2d5809d55890508b99ef5a868aace4e4.tar.bz2 chat-901b830f2d5809d55890508b99ef5a868aace4e4.zip |
Multiple UI Improvements
Diffstat (limited to 'web/react/components/user_settings')
-rw-r--r-- | web/react/components/user_settings/manage_outgoing_hooks.jsx | 2 | ||||
-rw-r--r-- | web/react/components/user_settings/user_settings_modal.jsx | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/web/react/components/user_settings/manage_outgoing_hooks.jsx b/web/react/components/user_settings/manage_outgoing_hooks.jsx index 9c88bb819..9c0fe3709 100644 --- a/web/react/components/user_settings/manage_outgoing_hooks.jsx +++ b/web/react/components/user_settings/manage_outgoing_hooks.jsx @@ -188,7 +188,7 @@ export default class ManageOutgoingHooks extends React.Component { key={hook.id} className='webhook__item' > - <div className='padding-top x2'> + <div className='padding-top x2 webhook__url'> <strong>{'URLs: '}</strong><span className='word-break--all'>{hook.callback_urls.join(', ')}</span> </div> {channelDiv} diff --git a/web/react/components/user_settings/user_settings_modal.jsx b/web/react/components/user_settings/user_settings_modal.jsx index 97c601b5e..36e1aa217 100644 --- a/web/react/components/user_settings/user_settings_modal.jsx +++ b/web/react/components/user_settings/user_settings_modal.jsx @@ -47,9 +47,11 @@ export default class UserSettingsModal extends React.Component { } handleShow() { - $(ReactDOM.findDOMNode(this.refs.modalBody)).css('max-height', $(window).height() - 50); if ($(window).width() > 768) { $(ReactDOM.findDOMNode(this.refs.modalBody)).perfectScrollbar(); + $(ReactDOM.findDOMNode(this.refs.modalBody)).css('max-height', $(window).height() - 200); + } else { + $(ReactDOM.findDOMNode(this.refs.modalBody)).css('max-height', $(window).height() - 50); } } |