mirror of
https://github.com/hakimel/reveal.js.git
synced 2025-09-01 02:32:54 +02:00
prevent mobile safari header from covering presentation content
This commit is contained in:
@@ -569,6 +569,16 @@ $controlsArrowAngleActive: 36deg;
|
||||
touch-action: none;
|
||||
}
|
||||
|
||||
// Mobile Safari sometimes overlays a header at the top
|
||||
// of the page when in landscape mode. Using fixed
|
||||
// positioning ensures that reveal.js reduces its height
|
||||
// when this header is visible.
|
||||
@media only screen and (orientation : landscape) {
|
||||
.reveal.ua-iphone {
|
||||
position: fixed;
|
||||
}
|
||||
}
|
||||
|
||||
.reveal .slides {
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
|
Reference in New Issue
Block a user