Skip to content

Commit 44ae31d

Browse files
committed
fix(details.page): iframe height for smooth scrolling
1 parent 424a158 commit 44ae31d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/app/features/home/details/details.page.scss

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,9 @@ mat-toolbar {
3030
overflow: auto;
3131

3232
iframe {
33-
height: 100%;
33+
height: calc(
34+
100vh - var(--ion-safe-area-bottom) - var(--ion-safe-area-top) - 66px
35+
);
3436
width: 92vw;
3537
margin: 0 4vw;
3638
border: none;

0 commit comments

Comments
 (0)