WEB-337:fix(loans): standardize loan collateral dialog structure and alignment (#2960)

This commit is contained in:
Shubham Kumar
2026-01-01 17:16:33 -06:00
committed by GitHub
parent c28f729363
commit aaf0bef085
@@ -1,6 +1,8 @@
<h1 mat-dialog-title>{{ 'labels.heading.Add Loan Collateral' | translate }}</h1> <h1 mat-dialog-title>{{ 'labels.heading.Add Loan Collateral' | translate }}</h1>
<div mat-dialog-content [formGroup]="addCollateralForm" class="layout-column"> <mat-dialog-content>
<form [formGroup]="addCollateralForm">
<div class="layout-column">
<mat-form-field> <mat-form-field>
<mat-label>{{ 'labels.inputs.Collateral' | translate }}</mat-label> <mat-label>{{ 'labels.inputs.Collateral' | translate }}</mat-label>
<mat-select formControlName="collateral" required> <mat-select formControlName="collateral" required>
@@ -41,9 +43,11 @@
<mat-label>{{ 'labels.inputs.Total Collateral Value' | translate }}</mat-label> <mat-label>{{ 'labels.inputs.Total Collateral Value' | translate }}</mat-label>
<input type="text" matInput formControlName="totalCollateralValue" [disabled]="true" /> <input type="text" matInput formControlName="totalCollateralValue" [disabled]="true" />
</mat-form-field> </mat-form-field>
</div> </div>
</form>
</mat-dialog-content>
<mat-dialog-actions class="layout-row layout-xs-column layout-align-center gap-2percent"> <mat-dialog-actions align="center">
<button mat-raised-button mat-dialog-close>{{ 'labels.buttons.Cancel' | translate }}</button> <button mat-raised-button mat-dialog-close>{{ 'labels.buttons.Cancel' | translate }}</button>
<button <button
mat-raised-button mat-raised-button