mirror of
https://github.com/Noratrieb/slides.git
synced 2026-01-14 16:35:07 +01:00
reader mode can be turned off without reload, add Reveal.toggleReader()
This commit is contained in:
parent
4da6f6b30f
commit
5de7da7692
9 changed files with 61 additions and 27 deletions
|
|
@ -1867,6 +1867,10 @@ $notesWidthPercent: 25%;
|
|||
/*********************************************
|
||||
* READER MODE
|
||||
*********************************************/
|
||||
.reveal-viewport.loading-scroll-mode {
|
||||
visibility: hidden;
|
||||
}
|
||||
|
||||
.reveal-viewport.reveal-reader {
|
||||
& {
|
||||
margin: 0 auto !important;
|
||||
|
|
@ -1910,14 +1914,13 @@ $notesWidthPercent: 25%;
|
|||
position: relative;
|
||||
overflow: hidden;
|
||||
z-index: 1;
|
||||
|
||||
page-break-after: always;
|
||||
}
|
||||
|
||||
.reveal .slides .reader-page section {
|
||||
visibility: visible !important;
|
||||
display: block !important;
|
||||
position: relative !important;
|
||||
top: auto !important;
|
||||
|
||||
margin: 0 !important;
|
||||
padding: 0 !important;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue