Sfoglia il codice sorgente

New stylesheet class .scroll for iOS5 devices

@soyjavi 14 anni fa
parent
commit
213fc93c3c

+ 1 - 0
src/stylesheets/css/Lungo.widgets.css

@@ -1,6 +1,7 @@
 .scroll,scroll{position:relative;display:block;width:100%;height:100%;}
 section.copyright{margin-top:128px;z-index:1000;background:#000;text-align:center;font-size:24px;}
 section.copyright img{max-height:128px;}
+.scroll{overflow:scroll;-webkit-overflow-scrolling:touch;}
 .hidden{display:none;}
 .onleft{float:left;}
 .onright{float:right;}

+ 4 - 0
src/stylesheets/less/Lungo.widgets.less

@@ -29,6 +29,10 @@ section.copyright img{
 }
 
 /* @group .classes */
+.scroll {
+  	overflow: scroll;
+  	-webkit-overflow-scrolling: touch;
+}
 .hidden { 
 	display: none; }
 .onleft {