summaryrefslogtreecommitdiffhomepage
path: root/css/reveal.scss
diff options
context:
space:
mode:
authorHakim El Hattab2019-01-23 10:30:29 +0100
committerHakim El Hattab2019-01-23 10:30:29 +0100
commit481208f43fda7270a6ac628a412b32120bfc9018 (patch)
tree5d8cfcb9f54d02e029a83ac5b074e70cf8aa83b7 /css/reveal.scss
parent2fa3ab6a6bf9083877dfe46257857a2ab019c293 (diff)
hide vertical arrows when navigationMode is 'linear' #2307
Diffstat (limited to 'css/reveal.scss')
-rw-r--r--css/reveal.scss7
1 files changed, 7 insertions, 0 deletions
diff --git a/css/reveal.scss b/css/reveal.scss
index c93276f..c79a562 100644
--- a/css/reveal.scss
+++ b/css/reveal.scss
@@ -407,12 +407,19 @@ $controlsArrowAngleActive: 36deg;
}
}
+.reveal[data-navigation-mode="linear"].has-horizontal-slides .navigate-up,
+.reveal[data-navigation-mode="linear"].has-horizontal-slides .navigate-down {
+ display: none;
+}
+
// Adjust the layout when there are no vertical slides
+.reveal[data-navigation-mode="linear"].has-horizontal-slides .navigate-left,
.reveal:not(.has-vertical-slides) .controls .navigate-left {
bottom: $controlArrowSpacing;
right: 0.5em + $controlArrowSpacing + $controlArrowSize;
}
+.reveal[data-navigation-mode="linear"].has-horizontal-slides .navigate-right,
.reveal:not(.has-vertical-slides) .controls .navigate-right {
bottom: $controlArrowSpacing;
right: 0.5em;