Fix style issue for oidc-onbord component (#15333)

Signed-off-by: AllForNothing <sshijun@vmware.com>
This commit is contained in:
孙世军 2021-07-19 12:26:47 +08:00 committed by GitHub
parent 43da6467c0
commit 8da8acde19
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 15 deletions

View File

@ -27,12 +27,16 @@
<p class="body-message">{{'CONFIG.OIDC.OIDC_SETNAMECONTENT' | translate}}</p>
</div>
<br />
<div class="username-div">
<label for="oidcUsername" class="required">{{'CONFIG.OIDC.OIDC_USERNAME' | translate}}</label>
<label for="oidcUsername" role="tooltip" class="tooltip tooltip-validation tooltip-lg tooltip-top-right">
<input name="oidcUsername" type="text" [formControl]="oidcUsername" required id="oidcUsername" size="40">
</label>
</div>
<form class="clr-form clr-form-horizontal">
<div class="clr-form-control">
<label for="oidcUsername" class="clr-control-label required">{{'CONFIG.OIDC.OIDC_USERNAME' | translate}}</label>
<div class="clr-control-container">
<div class="clr-input-wrapper">
<input class="clr-input" name="oidcUsername" type="text" [formControl]="oidcUsername" required id="oidcUsername" size="40">
</div>
</div>
</div>
</form>
<div class="modal-footer">
<button class="btn btn-outline" type="button" (click)="backHarborPage()" id="cancelButton">{{'BUTTON.CANCEL' | translate }}</button>
<button class="btn btn-primary" id="saveButton" (click)="clickSaveBtn()" [disabled]="oidcUsername.invalid"
@ -40,4 +44,4 @@
</div>
</div>
</div>
</div>
</div>

View File

@ -8,14 +8,6 @@
margin-right: 0.2rem
}
}
.username-div {
display: flex;
justify-content: space-between;
width: 80%;
}
input {
width: 300px;
}
}
.oidc-header-text{
color:rgb(94, 94, 94);