Work around webkit bug with body elements and scrollTop value
authorimakewebthings <[email protected]>
Sat, 14 Apr 2012 08:14:50 +0000 (14 16:14 +0800)
committerimakewebthings <[email protected]>
Sat, 14 Apr 2012 08:14:50 +0000 (14 16:14 +0800)
core/deck.core.css
core/deck.core.scss

index 7db99ac..a188b28 100644 (file)
@@ -4,11 +4,12 @@ html {
 
 body.deck-container {
   overflow-y: auto;
+  position: static;
 }
 
 .deck-container {
   position: relative;
-  height: 100%;
+  min-height: 100%;
   margin: 0 auto;
   padding: 0 48px;
   font-size: 16px;
index 8c05dbb..8deaca9 100755 (executable)
@@ -4,11 +4,12 @@ html {
 
 body.deck-container {
        overflow-y:auto;
+       position:static;
 }
 
 .deck-container {
        position:relative;
-       height:100%;
+       min-height:100%;
        margin:0 auto;
        padding:0 48px;
        font-size:16px;