@soyjavi пре 14 година
родитељ
комит
20cc5380be

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

@@ -18,7 +18,8 @@
 
 
 /* @group <article> */
 /* @group <article> */
 article {
 article {
-    position: absolute;
+    //position: absolute;
+    position: fixed;
     width: 100% !important;
     width: 100% !important;
     height: auto;
     height: auto;
     top: 0px;
     top: 0px;
@@ -28,7 +29,7 @@ article {
     visibility: hidden;
     visibility: hidden;
     z-index: 0;
     z-index: 0;
 
 
-    &.current {
+    &.current, &:first-child {
         visibility: visible;
         visibility: visible;
         display: block;
         display: block;
         z-index: 1;
         z-index: 1;

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

@@ -15,7 +15,8 @@ body {
 }
 }
 
 
 section {
 section {
-    position: absolute; /* position: fixed on iOS5 & Android 4 */
+    //position: absolute; /* position: fixed on iOS5 & Android 4 */
+    position: fixed;
     left:  0px;
     left:  0px;
     top:  0px;
     top:  0px;
     width: 100%;
     width: 100%;
@@ -65,6 +66,7 @@ section {
 
 
 header, footer  {
 header, footer  {
     position: absolute;
     position: absolute;
+    //position: fixed;
     left: 0px;
     left: 0px;
     width: 100%;
     width: 100%;
     height: @header-height;
     height: @header-height;

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

@@ -1,4 +1,4 @@
-article{position:absolute;width:100% !important;height:auto;top:0px;bottom:0px;display:none;visibility:hidden;z-index:0;}article.current{visibility:visible;display:block;z-index:1;}
+article{position:fixed;width:100% !important;height:auto;top:0px;bottom:0px;display:none;visibility:hidden;z-index:0;}article.current,article:first-child{visibility:visible;display:block;z-index:1;}
 article .title{font-size:1.1em;margin:0px 0 4px;}article .title .icon{margin-right:4px;}
 article .title{font-size:1.1em;margin:0px 0 4px;}article .title .icon{margin-right:4px;}
 article .text{margin:4px 0 8px;display:block;font-size:0.9em;font-weight:normal;line-height:1.4em;}
 article .text{margin:4px 0 8px;display:block;font-size:0.9em;font-weight:normal;line-height:1.4em;}
 header:not(.extended)~article{top:42px;}
 header:not(.extended)~article{top:42px;}

Разлика између датотеке није приказан због своје велике величине
+ 1 - 1
src/stylesheets/css/Lungo.layout.css