Skip to content

Commit 087468a

Browse files
authored
Merge pull request #1921 from numbersprotocol/fix-iframe-height-on-asset-details
fix(details.page): iframe height for smooth scrolling
2 parents 5652201 + f89f8aa commit 087468a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

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

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

3232
iframe {
33-
height: 100%;
33+
/* stylelint-disable-next-line declaration-colon-newline-after */
34+
height: calc(
35+
100vh - var(--ion-safe-area-bottom) - var(--ion-safe-area-top) - 66px
36+
);
3437
width: 92vw;
3538
margin: 0 4vw;
3639
border: none;

0 commit comments

Comments
 (0)