fix fullscreen issues; correct size in Safari, auto-focus presentation when entering fullscreen #3080

This commit is contained in:
hakimel
2021-12-08 10:45:36 +01:00
parent c804611343
commit b7d65be051
5 changed files with 48 additions and 3 deletions

View File

@ -33,6 +33,15 @@ html.reveal-full-page {
color: #000;
}
// Fixes an issue where Safari would take embedded presentations
// fullscreen but keep them at their original width/height style
.reveal-viewport:fullscreen {
top: 0 !important;
left: 0 !important;
width: 100% !important;
height: 100% !important;
}
/*********************************************
* VIEW FRAGMENTS