mirror of
https://github.com/hakimel/reveal.js.git
synced 2025-08-13 18:14:33 +02:00
adjust speaker notes layout on mobile devices
This commit is contained in:
@@ -1513,6 +1513,12 @@ body {
|
|||||||
height: 30vh; } }
|
height: 30vh; } }
|
||||||
|
|
||||||
@media screen and (max-width: 600px) {
|
@media screen and (max-width: 600px) {
|
||||||
|
.reveal.show-notes {
|
||||||
|
max-height: 60vh; }
|
||||||
|
.reveal.show-notes .speaker-notes {
|
||||||
|
top: 60vh;
|
||||||
|
height: 40vh;
|
||||||
|
padding-bottom: 10vh; }
|
||||||
.reveal .speaker-notes {
|
.reveal .speaker-notes {
|
||||||
font-size: 14px; } }
|
font-size: 14px; } }
|
||||||
|
|
||||||
|
@@ -1655,6 +1655,16 @@ $controlsArrowAngleActive: 36deg;
|
|||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (max-width: 600px) {
|
@media screen and (max-width: 600px) {
|
||||||
|
.reveal.show-notes {
|
||||||
|
max-height: 60vh;
|
||||||
|
}
|
||||||
|
|
||||||
|
.reveal.show-notes .speaker-notes {
|
||||||
|
top: 60vh;
|
||||||
|
height: 40vh;
|
||||||
|
padding-bottom: 10vh; // iOS :(
|
||||||
|
}
|
||||||
|
|
||||||
.reveal .speaker-notes {
|
.reveal .speaker-notes {
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user