Skip to content

Commit 8377fc9

Browse files
committed
Made the slide presentater page display inside an iframe so we keep stlying
1 parent 4ce9ff9 commit 8377fc9

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/ProgrammerAl.Site/ProgrammerAl.Site/Pages/PresentationSlides.razor

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,9 @@
2525
}
2626
else
2727
{
28-
@SlidesHtml
28+
@* Display inside an iframe so we keep the styling of the presentation *@
29+
<iframe srcdoc="@SlidesHtml"
30+
style="position:fixed; top:0; left:0; bottom:0; right:0; width:100%; height:100%; border:none; margin:0; padding:0; overflow:hidden; z-index:999999;">
31+
>
32+
</iframe>
2933
}

0 commit comments

Comments
 (0)