reset transform in fullscreen mode #3080

edit
hakimel 2021-12-08 14:04:40 +01:00
parent b7d65be051
commit a9277f9d46
2 changed files with 4 additions and 3 deletions

View File

@ -33,13 +33,14 @@ html.reveal-full-page {
color: #000; color: #000;
} }
// Fixes an issue where Safari would take embedded presentations // Force the presentation to cover the full viewport when we
// fullscreen but keep them at their original width/height style // enter fullscreen mode. Fixes sizing issues in Safari.
.reveal-viewport:fullscreen { .reveal-viewport:fullscreen {
top: 0 !important; top: 0 !important;
left: 0 !important; left: 0 !important;
width: 100% !important; width: 100% !important;
height: 100% !important; height: 100% !important;
transform: none !important;
} }

2
dist/reveal.css vendored

File diff suppressed because one or more lines are too long