From 4fb8e78eb4582a05f73eaf189aa7263381faf87a Mon Sep 17 00:00:00 2001 From: Hakim El Hattab Date: Fri, 29 Apr 2016 10:26:44 +0200 Subject: collapse control element size when corner aligned --- css/reveal.scss | 3 +++ 1 file changed, 3 insertions(+) (limited to 'css/reveal.scss') diff --git a/css/reveal.scss b/css/reveal.scss index 15f0d9a..f3a4888 100644 --- a/css/reveal.scss +++ b/css/reveal.scss @@ -260,6 +260,7 @@ body { right: 0; bottom: 0; left: 0; + z-index: 1; button { position: absolute; @@ -360,8 +361,10 @@ body { @mixin bottom-right-controls() { & { + top: auto; bottom: $spacing; right: $spacing; + left: auto; transform: scale(0.85); transform-origin: 100% 100%; } -- cgit v1.2.3