mirror of
https://github.com/hakimel/reveal.js.git
synced 2025-07-31 03:40:28 +02:00
mobile tweaks
This commit is contained in:
@@ -21,6 +21,7 @@ html.reveal-full-page {
|
|||||||
height: 100%;
|
height: 100%;
|
||||||
height: 100vh;
|
height: 100vh;
|
||||||
height: calc( var(--vh, 1vh) * 100 );
|
height: calc( var(--vh, 1vh) * 100 );
|
||||||
|
height: 100svh;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1882,7 +1883,8 @@ $notesWidthPercent: 25%;
|
|||||||
|
|
||||||
.reveal .controls,
|
.reveal .controls,
|
||||||
.reveal .progress,
|
.reveal .progress,
|
||||||
.reveal .playback {
|
.reveal .playback,
|
||||||
|
.reveal .slide-number {
|
||||||
display: none !important;
|
display: none !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2026,6 +2028,7 @@ $notesWidthPercent: 25%;
|
|||||||
position: absolute;
|
position: absolute;
|
||||||
width: var(--r-reader-progress-width);
|
width: var(--r-reader-progress-width);
|
||||||
height: 90vh;
|
height: 90vh;
|
||||||
|
height: 90svh;
|
||||||
right: $controlsSpacing;
|
right: $controlsSpacing;
|
||||||
top: 0;
|
top: 0;
|
||||||
transform: translateY(-50%);
|
transform: translateY(-50%);
|
||||||
|
2
dist/reveal.css
vendored
2
dist/reveal.css
vendored
File diff suppressed because one or more lines are too long
2
dist/reveal.esm.js
vendored
2
dist/reveal.esm.js
vendored
File diff suppressed because one or more lines are too long
2
dist/reveal.esm.js.map
vendored
2
dist/reveal.esm.js.map
vendored
File diff suppressed because one or more lines are too long
2
dist/reveal.js
vendored
2
dist/reveal.js
vendored
File diff suppressed because one or more lines are too long
2
dist/reveal.js.map
vendored
2
dist/reveal.js.map
vendored
File diff suppressed because one or more lines are too long
@@ -274,7 +274,7 @@ export default {
|
|||||||
// - mandatory: Always snap to the closest slide
|
// - mandatory: Always snap to the closest slide
|
||||||
//
|
//
|
||||||
// Only applies to presentations in reader mode.
|
// Only applies to presentations in reader mode.
|
||||||
readerScrollSnap: 'proximity',
|
readerScrollSnap: 'mandatory',
|
||||||
|
|
||||||
// Enables and configure the reader mode scroll bar.
|
// Enables and configure the reader mode scroll bar.
|
||||||
// - 'auto': Show the scrollbar while scrolling, hide while idle
|
// - 'auto': Show the scrollbar while scrolling, hide while idle
|
||||||
|
Reference in New Issue
Block a user