summaryrefslogtreecommitdiffstats
path: root/webapp/components/channel_switch_modal.jsx
diff options
context:
space:
mode:
authorAsaad Mahmood <asaadmahmoodspin@users.noreply.github.com>2016-06-06 17:46:03 +0500
committerJoram Wilander <jwawilander@gmail.com>2016-06-06 08:46:03 -0400
commit353216e05c84727a43445bc5c4bb79fe94dcfca4 (patch)
treed6f5b0edfd20e93635a23109aaf06bf5b844d3e3 /webapp/components/channel_switch_modal.jsx
parent53a35f2f8efd34685e9ef5c8b84d9665f8479b52 (diff)
downloadchat-353216e05c84727a43445bc5c4bb79fe94dcfca4.tar.gz
chat-353216e05c84727a43445bc5c4bb79fe94dcfca4.tar.bz2
chat-353216e05c84727a43445bc5c4bb79fe94dcfca4.zip
PLT-3182 - Improving switch channels modal and some minor UI improvements (#3238)
* PLT-3182 - Improving switch channels modal and some minor UI improvements Enabling link previews Adding compact layout to RHS Improving timestamps * Adding update code for RHS components
Diffstat (limited to 'webapp/components/channel_switch_modal.jsx')
-rw-r--r--webapp/components/channel_switch_modal.jsx14
1 files changed, 8 insertions, 6 deletions
diff --git a/webapp/components/channel_switch_modal.jsx b/webapp/components/channel_switch_modal.jsx
index 761da1395..3b8fbc7af 100644
--- a/webapp/components/channel_switch_modal.jsx
+++ b/webapp/components/channel_switch_modal.jsx
@@ -98,10 +98,12 @@ export default class SwitchChannelModal extends React.Component {
</Modal.Header>
<Modal.Body>
- <FormattedMessage
- id='channel_switch_modal.help'
- defaultMessage='↑↓ to browse, TAB to select, ↵ to confirm, ESC to dismiss'
- />
+ <div className='modal__hint'>
+ <FormattedMessage
+ id='channel_switch_modal.help'
+ defaultMessage='↑↓ to browse, TAB to select, ↵ to confirm, ESC to dismiss'
+ />
+ </div>
<SuggestionBox
ref='search'
className='form-control focused'
@@ -118,9 +120,9 @@ export default class SwitchChannelModal extends React.Component {
/>
</Modal.Body>
<Modal.Footer>
- <label className='control-label'>
+ <div className='modal__error'>
{message}
- </label>
+ </div>
<button
type='button'
className='btn btn-default'