Change design to be consistent with Purgatory logout button

pull/10616/head
Alex P 2017-12-11 16:42:55 -08:00 committed by deniz kusefoglu
parent 18b666660d
commit 7dfd0c9312
1 changed files with 6 additions and 12 deletions

View File

@ -138,18 +138,7 @@ const SourceForm = ({
</label>
</div>
: null}
{isUsingAuth
? <div className="form-group form-group-submit col-xs-12 col-sm-4 col-sm-offset-2">
<button className="btn btn-block btn-default">
<span className="icon shuffle" /> Switch Orgs
</button>
</div>
: null}
<div
className={`form-group form-group-submit ${isUsingAuth
? 'col-xs-12 col-sm-4'
: 'col-xs-12 col-sm-6 col-sm-offset-3'}`}
>
<div className="form-group form-group-submit text-center col-xs-12 col-sm-6 col-sm-offset-3">
<button
className={classnames('btn btn-block', {
'btn-primary': editMode,
@ -162,6 +151,11 @@ const SourceForm = ({
</button>
<br />
{isUsingAuth
? <button className="btn btn-link btn-sm">
<span className="icon shuffle" /> Switch Orgs
</button>
: null}
</div>
</form>
</div>