1
0
mirror of https://github.com/hakimel/reveal.js.git synced 2025-08-27 00:16:53 +02:00

separate reader mode into individual controller, add scroll triggers for fragments

This commit is contained in:
Hakim El Hattab
2023-09-14 13:00:31 +02:00
parent 6aa1eae796
commit f26d31570e
15 changed files with 415 additions and 211 deletions

View File

@@ -1867,12 +1867,8 @@ $notesWidthPercent: 25%;
/*********************************************
* READER MODE
*********************************************/
html.reveal-reader {
width: 100%;
height: 100%;
overflow: visible;
.reveal-viewport, body {
.reveal-viewport.reveal-reader {
& {
margin: 0 auto !important;
overflow: auto;
}
@@ -1892,7 +1888,6 @@ html.reveal-reader {
}
.reveal .slides {
position: static;
zoom: 1 !important;
pointer-events: initial;
transform-origin: 50% 0;