Kaynağa Gözat

Android Navigator 4.0 compatible

soyjavi 13 yıl önce
ebeveyn
işleme
38dc4a4afc

+ 4 - 3
src/stylesheets/Lungo.layout.article.less

@@ -11,11 +11,12 @@
 @import "constants.less";
 
 article {
-    // @todo: section position absolute or FIXED
-    // position: absolute;
-    position: fixed;
+    position: absolute;
     width: inherit;
     height: auto;
+
+    // width: 100%;
+    // eight: 100%;
     top: 0;
     bottom: 0;
 

+ 3 - 4
src/stylesheets/Lungo.layout.aside.less

@@ -10,6 +10,7 @@
 @import "constants.less";
 @import "mixins.less";
 
+
 section.aside {
     &:not(.small) { .transform(translate(@aside-width, 0)); }
     &.small { .transform(translate(@aside-width-small, 0)); }
@@ -20,11 +21,9 @@ section.aside {
     }
 }
 
-aside {
-    // @todo: section position absolute or FIXED
-    // position: absolute;
-    position: fixed;
 
+aside {
+    position: absolute;
     height: auto;
     top: 0;
     bottom: 0;

+ 1 - 1
src/stylesheets/Lungo.layout.less

@@ -65,7 +65,7 @@ section {
 }
 
 header, footer  {
-    position: fixed;
+    position: absolute;
     left: 0;
     width: 100%;
     display: block;

+ 1 - 1
src/stylesheets/css/Lungo.layout.article.css

@@ -9,7 +9,7 @@
 /* DIMENSIONS */
 /* COLORS */
 article {
-  position: fixed;
+  position: absolute;
   width: inherit;
   height: auto;
   top: 0;

+ 1 - 1
src/stylesheets/css/Lungo.layout.aside.css

@@ -57,7 +57,7 @@ section.aside.right.small {
   transform: translate(-64px, 0);
 }
 aside {
-  position: fixed;
+  position: absolute;
   height: auto;
   top: 0;
   bottom: 0;

+ 1 - 1
src/stylesheets/css/Lungo.layout.css

@@ -123,7 +123,7 @@ section[data-transition="slide"].hide {
 }
 header,
 footer {
-  position: fixed;
+  position: absolute;
   left: 0;
   width: 100%;
   display: block;