Skip to content

Commit

Permalink
refactor: migrate the comments-modal - update the component GUI
Browse files Browse the repository at this point in the history
  • Loading branch information
s223749059 committed Apr 14, 2024
1 parent 1172756 commit ce8ff9d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ <h3 class="modal-title">
<small>Please confirm that you want to perform this action.</small>
</h3>
</div>
<div class="modal-body">
<div class="modal-body" style="font-size: 1.5em;">
{{ message }}
</div>
<div class="modal-footer clearfix">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ export class ConfirmationModalService {

public show(title: string, message: string, action?: any) {
let dialogRef: MatDialogRef<ConfirmationModalComponent, any>;
dialogRef = this.dialog.open(ConfirmationModalComponent);
dialogRef = this.dialog.open(ConfirmationModalComponent, {position: {top: '5%'}});
dialogRef.updateSize("40%", "");
dialogRef.componentInstance.title = title;
dialogRef.componentInstance.message = message;
dialogRef.componentInstance.action = action;
Expand Down

0 comments on commit ce8ff9d

Please sign in to comment.