From f72db35781b809f4bae49917426a4860f50ef35f Mon Sep 17 00:00:00 2001
From: Asaad Mahmood <asaad@spinpunch.com>
Date: Wed, 9 Mar 2016 23:43:42 +0500
Subject: Disabling help stuff and moving preview out of it

---
 web/react/components/textbox.jsx | 24 +++++++++++++-----------
 1 file changed, 13 insertions(+), 11 deletions(-)

(limited to 'web/react/components/textbox.jsx')

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>
         );
     }
-- 
cgit v1.2.3-1-g7c22

