From 044e87017d782839b4c599633b565a4db1375334 Mon Sep 17 00:00:00 2001 From: Hakim El Hattab Date: Mon, 31 Aug 2015 10:55:02 +0200 Subject: [PATCH] fix issue where 'none' transition did not apply to vertical stacks --- css/reveal.css | 4 ++-- css/reveal.scss | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/css/reveal.css b/css/reveal.css index 705d966d..cb5e98b9 100644 --- a/css/reveal.css +++ b/css/reveal.css @@ -450,7 +450,7 @@ body { /********************************************* * ZOOM TRANSITION *********************************************/ -.reveal .slides > section[data-transition=zoom], .reveal.zoom .slides > section:not([data-transition]) { +.reveal .slides section[data-transition=zoom], .reveal.zoom .slides section:not([data-transition]) { -webkit-transition-timing-function: ease; transition-timing-function: ease; } @@ -647,7 +647,7 @@ body { /********************************************* * NO TRANSITION *********************************************/ -.reveal .slides > section[data-transition=none], .reveal.none .slides > section:not([data-transition]) { +.reveal .slides section[data-transition=none], .reveal.none .slides section:not([data-transition]) { -webkit-transform: none; -ms-transform: none; transform: none; diff --git a/css/reveal.scss b/css/reveal.scss index 1be6151d..e1697b11 100644 --- a/css/reveal.scss +++ b/css/reveal.scss @@ -434,8 +434,8 @@ body { *********************************************/ @mixin transition-global($style) { - .reveal .slides>section[data-transition=#{$style}], - .reveal.#{$style} .slides>section:not([data-transition]) { + .reveal .slides section[data-transition=#{$style}], + .reveal.#{$style} .slides section:not([data-transition]) { @content; } }