Permalink
Browse files

Worked around 'position: fixed' clipping when scroll up.

  • Loading branch information...
1 parent 6930cbe commit 65484f7eec4f1ef8488ce357708c219d93ca2cc2 @thomasyip thomasyip committed Nov 19, 2011
Showing with 5 additions and 10 deletions.
  1. +5 −10 jqtouch/jqtouch.css
View
@@ -20,7 +20,7 @@ body {
bottom: 0;
font-family: "Helvetica Neue", Helvetica;
left: 0;
- position: fixed;
+ position: absolute;
right: 0;
top: 0;
}
@@ -61,10 +61,6 @@ body {
-webkit-box-align: stretch;
}
-#jqt > * > * {
- -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box;
-}
-
#jqt > .current {
z-index: 10;
}
@@ -119,11 +115,6 @@ body {
width: 448px;
border-radius: 5px;
}
- /*
- #jqt.splitscreen > .unfixed {
- overflow-y: scroll;
- height: 100%;
- }*/
#jqt.splitscreen > [section="aside"] {
position: absolute;
@@ -170,6 +161,10 @@ only screen and (min-device-width: 1024px) {
-webkit-transform: translateZ(0.01px);
}
+#jqt > .front, #jqt > .in, #jqt > .out {
+ position: fixed !important;
+}
+
#jqt > * .missection {
display: none !important;
}

0 comments on commit 65484f7

Please sign in to comment.