diff options
author | Hakim El Hattab | 2017-06-12 10:22:47 +0200 |
---|---|---|
committer | Hakim El Hattab | 2017-06-12 10:22:47 +0200 |
commit | 9342d19b5adcd3eea1f2f16ba74ec2f83928efc5 (patch) | |
tree | eff048e47e7bf27ff766d9b3b34f7f02514613a8 /css/reveal.scss | |
parent | 6ae4ad69d2152d83c02aae52d40c14b0223e42ce (diff) |
fix centering of edge-aligned controls
Diffstat (limited to 'css/reveal.scss')
-rw-r--r-- | css/reveal.scss | 4 |
1 files changed, 4 insertions, 0 deletions
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; } } |