When there are multiple realms in rgw multi-site, the realm name/token fields overflow the modal content area
Fixes: https://tracker.ceph.com/issues/78051
Signed-off-by: Aashish Sharma <aasharma@redhat.com>
<cds-modal
- size="sm"
+ size="md"
[open]="open"
[hasScrollingContent]="true"
(overlaySelected)="closeModal()"
Export multi-site realm token
</cds-modal-header>
- <ng-container *cdFormLoading="loading">
+ <div cdsModalContent>
<form
name="exportTokenForm"
[formGroup]="exportTokenForm"
novalidate
>
- <div cdsModalContent>
+ <ng-container *cdFormLoading="loading">
<div class="form-item">
@if (!tokenValid) {
<cd-alert-panel
</div>
</div>
}
- </div>
- <cd-form-button-panel
- [modalForm]="true"
- [showSubmit]="false"
- (backActionEvent)="closeModal()"
- >
- </cd-form-button-panel>
+ </ng-container>
</form>
- </ng-container>
+ </div>
+ <cd-form-button-panel
+ [modalForm]="true"
+ [showSubmit]="false"
+ (backActionEvent)="closeModal()"
+ >
+ </cd-form-button-panel>
</cds-modal>