Update scale for webkit body scrollTop bug

This commit is contained in:
imakewebthings 2012-04-14 17:47:14 +08:00
parent 2f4f733854
commit 16336972a3
2 changed files with 10 additions and 3 deletions

View file

@ -1,6 +1,9 @@
.csstransforms .deck-container.deck-scale:not(.deck-menu) {
/* Remove this line if you are embedding deck.js in a page and
using the scale extension. */
.csstransforms {
overflow: hidden;
}
.csstransforms .deck-container.deck-scale:not(.deck-menu) > .slide {
-webkit-box-sizing: padding-box;
-moz-box-sizing: padding-box;

View file

@ -1,6 +1,10 @@
.csstransforms .deck-container.deck-scale:not(.deck-menu) {
/* Remove this line if you are embedding deck.js in a page and
using the scale extension. */
.csstransforms {
overflow:hidden;
}
.csstransforms .deck-container.deck-scale:not(.deck-menu) {
> .slide {
-webkit-box-sizing: padding-box;
-moz-box-sizing: padding-box;