From 481208f43fda7270a6ac628a412b32120bfc9018 Mon Sep 17 00:00:00 2001 From: Hakim El Hattab Date: Wed, 23 Jan 2019 10:30:29 +0100 Subject: hide vertical arrows when navigationMode is 'linear' #2307 --- css/reveal.scss | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'css/reveal.scss') 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; -- cgit v1.2.3