Skip to content

Commit

Permalink
Limit image size
Browse files Browse the repository at this point in the history
  • Loading branch information
pzdr7 committed Oct 25, 2024
1 parent fffa071 commit 1f04252
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,3 +1,3 @@
<div [style.max-height.vh]="95" [style.max-width.vw]="95">
<img class="img-fluid" [src]="data.slideToReference" alt="" />
<div>
<img [style.max-height.vh]="95" class="img-fluid" [src]="data.slideToReference" alt="" />
</div>
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ export class PostingContentPartComponent {
enlargeImage(slideToReference: string) {
this.dialog.open(EnlargeSlideImageComponent, {
data: { slideToReference },
maxWidth: '95vw',
});
}

Expand Down

0 comments on commit 1f04252

Please sign in to comment.