diff options
author | Sriram Viswanathan <sriramv@thoughtworks.com> | 2017-03-23 17:14:18 -0300 |
---|---|---|
committer | Sriram Viswanathan <sriramv@thoughtworks.com> | 2017-03-23 18:33:22 -0300 |
commit | eafa3efb5073c3c6bbf933decbf094b27edc7e99 (patch) | |
tree | d82c81d2b9469ebb683cfb7f366be24dc9715707 /web-ui/src/common | |
parent | a6dbb3a7849881247270f0cf84d8b725f9022310 (diff) |
|#973| Thais + Sriram | Removes containerElement to use default 'button' container - fixes functionality
Diffstat (limited to 'web-ui/src/common')
-rw-r--r-- | web-ui/src/common/flat_button/flat_button.js | 2 | ||||
-rw-r--r-- | web-ui/src/common/logout/logout.js | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/web-ui/src/common/flat_button/flat_button.js b/web-ui/src/common/flat_button/flat_button.js index d9930ff5..33df7de4 100644 --- a/web-ui/src/common/flat_button/flat_button.js +++ b/web-ui/src/common/flat_button/flat_button.js @@ -38,9 +38,7 @@ const SubmitFlatButton = ({ name, buttonText, fontIconClass }) => ( <FlatButton name={name} type='submit' - target='_blank' hoverColor='transparent' - containerElement='label' style={flatButtonStyle} labelPosition='before' label={buttonText} diff --git a/web-ui/src/common/logout/logout.js b/web-ui/src/common/logout/logout.js index c4c98b0c..259b448e 100644 --- a/web-ui/src/common/logout/logout.js +++ b/web-ui/src/common/logout/logout.js @@ -34,7 +34,7 @@ export class Logout extends React.Component { <div className='logout-container'> <form id='logout-form' method='POST' action='logout'> <input type='hidden' name='csrftoken' value={this.state.csrf_token} /> - <SubmitFlatButton name="logout" buttonText={t('logout')} fontIconClass='fa fa-sign-out' /> + <SubmitFlatButton name='logout' buttonText={t('logout')} fontIconClass='fa fa-sign-out' /> </form> </div> ); |