1
0
mirror of https://github.com/hakimel/reveal.js.git synced 2025-08-20 05:21:31 +02:00

fix centering of edge-aligned controls

This commit is contained in:
Hakim El Hattab
2017-06-12 10:22:47 +02:00
parent 6ae4ad69d2
commit 9342d19b5a
3 changed files with 13 additions and 5 deletions

View File

@@ -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;
}
}