Skip to content

Commit

Permalink
Fix create account form styling (#8689)
Browse files Browse the repository at this point in the history
* ensure space between create account buttons

* delete wrapper div class name
  • Loading branch information
rekmarks authored May 28, 2020
1 parent 8ed4510 commit eb7ef40
Showing 1 changed file with 19 additions and 19 deletions.
38 changes: 19 additions & 19 deletions ui/app/pages/create-account/new-account.component.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,31 +49,31 @@ export default class NewAccountCreateForm extends Component {
<div className="new-account-create-form__input-label">
{this.context.t('accountName')}
</div>
<div className="new-account-create-form__input-wrapper">
<div>
<input
className="new-account-create-form__input"
value={newAccountName}
placeholder={defaultAccountName}
onChange={(event) => this.setState({ newAccountName: event.target.value })}
/>
</div>
<div className="new-account-create-form__buttons">
<Button
type="default"
large
className="new-account-create-form__button"
onClick={() => history.push(DEFAULT_ROUTE)}
>
{this.context.t('cancel')}
</Button>
<Button
type="secondary"
large
className="new-account-create-form__button"
onClick={createClick}
>
{this.context.t('create')}
</Button>
<div className="new-account-create-form__buttons">
<Button
type="default"
large
className="new-account-create-form__button"
onClick={() => history.push(DEFAULT_ROUTE)}
>
{this.context.t('cancel')}
</Button>
<Button
type="secondary"
large
className="new-account-create-form__button"
onClick={createClick}
>
{this.context.t('create')}
</Button>
</div>
</div>
</div>
)
Expand Down

0 comments on commit eb7ef40

Please sign in to comment.