From c3855634d50e271cf637f65558ac6562f230a929 Mon Sep 17 00:00:00 2001 From: imakewebthings Date: Tue, 16 Aug 2011 15:05:24 +0800 Subject: [PATCH] Better oveflow for intro deck --- introduction/introduction.css | 1 + introduction/introduction.scss | 1 + themes/transition/horizontal-slide.css | 7 +++---- themes/transition/horizontal-slide.scss | 6 ++---- 4 files changed, 7 insertions(+), 8 deletions(-) diff --git a/introduction/introduction.css b/introduction/introduction.css index 8e78ced7..eaf13ca0 100644 --- a/introduction/introduction.css +++ b/introduction/introduction.css @@ -45,6 +45,7 @@ .deck-container .theme-menu select { float: left; display: block; + font-size: 14px; } @media print { diff --git a/introduction/introduction.scss b/introduction/introduction.scss index fb6286d5..94325b15 100755 --- a/introduction/introduction.scss +++ b/introduction/introduction.scss @@ -49,6 +49,7 @@ select { float:left; display:block; + font-size:14px; } } } diff --git a/themes/transition/horizontal-slide.css b/themes/transition/horizontal-slide.css index c9b0d143..7eb422df 100644 --- a/themes/transition/horizontal-slide.css +++ b/themes/transition/horizontal-slide.css @@ -1,3 +1,6 @@ +.csstransitions.csstransforms { + overflow: hidden; +} .csstransitions.csstransforms .deck-container > .slide { -webkit-transition: -webkit-transform 500ms ease-in-out; -moz-transition: -moz-transform 500ms ease-in-out; @@ -70,7 +73,3 @@ -ms-transform: translate(0, 0); transform: translate3d(0, 0, 0); } - -html { - overflow-x: hidden; -} diff --git a/themes/transition/horizontal-slide.scss b/themes/transition/horizontal-slide.scss index c54c3dad..f10725e0 100644 --- a/themes/transition/horizontal-slide.scss +++ b/themes/transition/horizontal-slide.scss @@ -13,6 +13,8 @@ } .csstransitions.csstransforms { + overflow:hidden; + .deck-container > .slide { -webkit-transition:-webkit-transform 500ms ease-in-out; -moz-transition:-moz-transform 500ms ease-in-out; @@ -79,8 +81,4 @@ @include translate; } } -} - -html { - overflow-x:hidden; } \ No newline at end of file