Skip to content

Commit

Permalink
mobile tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
hakimel committed Oct 11, 2023
1 parent 2c5a83c commit 09f36ad
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 7 deletions.
5 changes: 4 additions & 1 deletion css/reveal.scss
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ html.reveal-full-page {
height: 100%;
height: 100vh;
height: calc( var(--vh, 1vh) * 100 );
height: 100svh;
overflow: hidden;
}

Expand Down Expand Up @@ -1882,7 +1883,8 @@ $notesWidthPercent: 25%;

.reveal .controls,
.reveal .progress,
.reveal .playback {
.reveal .playback,
.reveal .slide-number {
display: none !important;
}

Expand Down Expand Up @@ -2026,6 +2028,7 @@ $notesWidthPercent: 25%;
position: absolute;
width: var(--r-reader-progress-width);
height: 90vh;
height: 90svh;
right: $controlsSpacing;
top: 0;
transform: translateY(-50%);
Expand Down
2 changes: 1 addition & 1 deletion dist/reveal.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/reveal.esm.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/reveal.esm.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/reveal.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/reveal.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ export default {
// - mandatory: Always snap to the closest slide
//
// Only applies to presentations in reader mode.
readerScrollSnap: 'proximity',
readerScrollSnap: 'mandatory',

// Enables and configure the reader mode scroll bar.
// - 'auto': Show the scrollbar while scrolling, hide while idle
Expand Down

0 comments on commit 09f36ad

Please sign in to comment.