Skip to content

Commit

Permalink
AUS-4066 info window close button is hidden when window is large
Browse files Browse the repository at this point in the history
  • Loading branch information
Yunlong Li committed Jan 22, 2024
1 parent 266edb8 commit 8384d7b
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
@@ -1,4 +1,4 @@
<div class="modal-header" style="background: #EEE; position: sticky; top: 0; z-index: 1">
<div cdkDrag cdkDragRootElement=".modal-content" #childElement cdkDragBoundary="body" class="modal-header" style="background: #EEE;">
<h5 class="modal-title" id="exampleModalLongTitle">Record Information</h5>
<button type="button" class="close" (click)="activeModal.close()" aria-label="Close">
<span aria-hidden="true">&times;</span>
Expand Down
3 changes: 2 additions & 1 deletion src/app/menupanel/layerpanel/layerpanel.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,8 @@ export class LayerPanelComponent implements OnInit {
if (layer) {
const modelRef = this.activeModalService.open(InfoPanelComponent, {
size: "lg",
backdrop: false
backdrop: false,
scrollable: true
});
modelRef.componentInstance.cswRecords = layer.cswRecords;
modelRef.componentInstance.layer = layer;
Expand Down

0 comments on commit 8384d7b

Please sign in to comment.