Skip to content

Commit

Permalink
chore: adapt modal dialog size options and use the correct one for th…
Browse files Browse the repository at this point in the history
…e shipping modal
  • Loading branch information
shauke authored and dhhyi committed Jul 28, 2020
1 parent d814cc0 commit a63d2a2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ export interface ModalOptions {
titleText: string;
/**
* size attribute
* 'lg': large, 'sm': small, 'md': medium (default)
* 'sm': small, 'lg': large, 'xl': extra large, 'md': medium (default)
*/
size?: 'sm' | 'lg';
size?: 'sm' | 'lg' | 'xl';
/**
* Optional modal confirm button text.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<!-- details link and dialog -->
<ish-modal-dialog-link
linkText="product.ready_for_shipment.detail.text"
[options]="{ titleText: 'shopping.product.readyforshipment.details.title' | translate }"
[options]="{ titleText: 'shopping.product.readyforshipment.details.title' | translate, size: 'lg' }"
[ngClass]="'details-link'"
>
<ish-content-include includeId="systeminclude.dialog.readyForShipment.pagelet2-Include"></ish-content-include>
Expand Down

0 comments on commit a63d2a2

Please sign in to comment.