Skip to content

Commit

Permalink
Update scale for webkit body scrollTop bug
Browse files Browse the repository at this point in the history
  • Loading branch information
imakewebthings committed Apr 14, 2012
1 parent 2f4f733 commit 1633697
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
5 changes: 4 additions & 1 deletion extensions/scale/deck.scale.css
@@ -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;
Expand Down
8 changes: 6 additions & 2 deletions extensions/scale/deck.scale.scss
@@ -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;
Expand Down

0 comments on commit 1633697

Please sign in to comment.