<div class="modal mt-5p" role="dialog" [ngStyle]="{'display':IONotes}">
<div class="modal-dialog modal-md mt-0px width-70p">
<div class="modal-content" style="height:500px">
<div class="modal-header" style="background-color:#51b8f2;color:white;">
<button type="button" class="close" data-dismiss="modal" (click)="IONotesClose()">×</button>
<h5 class="modal-title" style="text-align:center">
<strong>Intra-operative Notes</strong>
</h5>
</div>
<div class="modal-body">
<div class="col-sm-12">
<div class="row">
<div class="col-sm-3">
<div class="row">
<div class="col-sm-7">
<label style="margin-left: -15%;">Surgery Type :</label>
</div>
<div class="col-sm-5">
<label>{{M_SurgeryType}}</label>
</div>
</div>
</div>
<div class="col-sm-5" style="margin-left: 6%;">
<div class="row">
<div class="col-sm-7">
<label style="font-size: 13px;">Surgery Procedure :</label>
</div>
<div class="col-sm-5">
<label style="font-size: 13px;margin-left: -72%;">{{surgeryprocedureName}}</label>
</div>
</div>
</div>
<div class="col-sm-3" style="margin-left: -16%;">
<button mat-raised-button type="button" *ngIf="removedOtNotes.length != 0" style="margin-left: 40%; background-color:#3dbb96; color:aliceblue;font-family: 'Proxima Nova Semibold';border-radius: 9px;" (click)="ViewunselectedOtNotes()" data-toggle="tooltip" title="Add IO notes">View unselected Ot Notes</button>
</div>
<div class="col-sm-1" style="margin-left: 5%;">
<button mat-raised-button type="button" *ngIf="!IsDischarge" style="background-color:#3dbb96; color:aliceblue;font-family: 'Proxima Nova Semibold';border-radius: 9px;margin-top: 1%;" (click)="AddIoNotes()" data-toggle="tooltip" title="Add IO notes">Add IO notes</button>
</div>
</div>
</div>
<div class="row ml-1p heightAuto-350px ml-1p position-sticky">
<table #IONotestable mat-table [dataSource]="IntraoperativeNotesSource" class="custom-table withoutbackgroung search-table table-bordered"
cdkDropList
[cdkDropListData]="IntraoperativeNotesSource"
(cdkDropListDropped)="dropTable($event)">
<!-- Table content goes here -->
</table>
</div>
</div>
</div>
</div>
If you can see the picture in the link provided, when my Bootstrap Modal opens, I want to prevent the scroll on the right side of the page. I have tried setting the overflow property to hidden for the modal content, but it hasn't worked. Can anyone help me with fixing this issue? Thank you in advance.