From 9342d19b5adcd3eea1f2f16ba74ec2f83928efc5 Mon Sep 17 00:00:00 2001 From: Hakim El Hattab Date: Mon, 12 Jun 2017 10:22:47 +0200 Subject: fix centering of edge-aligned controls --- css/reveal.scss | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'css/reveal.scss') diff --git a/css/reveal.scss b/css/reveal.scss index 689aa40..4a953fd 100644 --- a/css/reveal.scss +++ b/css/reveal.scss @@ -477,21 +477,25 @@ $controlsArrowAngleActive: 36deg; .navigate-left { top: 50%; left: $spacing; + margin-top: -$controlArrowSize/2; } .navigate-right { top: 50%; right: $spacing; + margin-top: -$controlArrowSize/2; } .navigate-up { top: $spacing; left: 50%; + margin-left: -$controlArrowSize/2; } .navigate-down { bottom: $spacing; left: 50%; + margin-left: -$controlArrowSize/2; } } -- cgit v1.2.3