Improve Third-party Logins UI.

This commit is contained in:
Yang Luo
2021-04-26 18:33:06 +08:00
parent 085f0ca239
commit 4dd0c1a457
3 changed files with 14 additions and 3 deletions

View File

@ -316,9 +316,18 @@ class UserEditPage extends React.Component {
}} />
</Col>
</Row>
{
this.state.providers.map((provider, index) => this.renderIdp(provider))
}
<Row style={{marginTop: '20px'}} >
<Col style={{marginTop: '5px'}} span={2}>
{i18next.t("user:Third-party Logins")}:
</Col>
<Col span={22} >
<div style={{marginBottom: 20}}>
{
this.state.providers.map((provider, index) => this.renderIdp(provider))
}
</div>
</Col>
</Row>
{
!Setting.isAdminUser(this.props.account) ? null : (
<React.Fragment>