summaryrefslogtreecommitdiffstats
path: root/web/react/components
diff options
context:
space:
mode:
authorChristopher Speller <crspeller@gmail.com>2016-03-09 14:27:11 -0500
committerChristopher Speller <crspeller@gmail.com>2016-03-09 14:27:11 -0500
commit08f0800adef926e8b69ebea70e4995b89f5c3f3c (patch)
treeb24878f1a5626631ad51a0c234ebcbfaaf06cde5 /web/react/components
parent590b81fb5ef012f61d6d0fca17465efc76451726 (diff)
parentf72db35781b809f4bae49917426a4860f50ef35f (diff)
downloadchat-08f0800adef926e8b69ebea70e4995b89f5c3f3c.tar.gz
chat-08f0800adef926e8b69ebea70e4995b89f5c3f3c.tar.bz2
chat-08f0800adef926e8b69ebea70e4995b89f5c3f3c.zip
Merge pull request #2404 from asaadmahmoodspin/ui-improvements
Disabling help stuff and moving preview out of the help text.
Diffstat (limited to 'web/react/components')
-rw-r--r--web/react/components/textbox.jsx24
1 files changed, 13 insertions, 11 deletions
diff --git a/web/react/components/textbox.jsx b/web/react/components/textbox.jsx
index 46900e436..c8c0c071e 100644
--- a/web/react/components/textbox.jsx
+++ b/web/react/components/textbox.jsx
@@ -194,7 +194,6 @@ export default class Textbox extends React.Component {
defaultMessage='>quote'
/>
</span>
- {previewLink}
</div>
);
@@ -230,16 +229,19 @@ export default class Textbox extends React.Component {
>
</div>
{helpText}
- <a
- target='_blank'
- href='http://docs.mattermost.com/help/getting-started/messaging-basics.html'
- className='textbox-help-link'
- >
- <FormattedMessage
- id='textbox.help'
- defaultMessage='Help'
- />
- </a>
+ <div className='help__text'>
+ {previewLink}
+ <a
+ target='_blank'
+ href='http://docs.mattermost.com/help/getting-started/messaging-basics.html'
+ className='textbox-help-link'
+ >
+ <FormattedMessage
+ id='textbox.help'
+ defaultMessage='Help'
+ />
+ </a>
+ </div>
</div>
);
}