Skip to content
This repository was archived by the owner on Feb 7, 2023. It is now read-only.

Commit c60757b

Browse files
Fixing no scrolling problem on iOS, iPad etc
On line 545 added "-webkit-overflow-scrolling: touch; overflow: scroll;" to enable scrolling on iOS devices. see http://johanbrook.com/browsers/native-momentum-scrolling-ios-5/
1 parent af85c3c commit c60757b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

public/styleguide/css/styleguide.scss

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -542,6 +542,8 @@ html#pattern-frame {
542542
height: 100%;
543543
text-align: center;
544544
margin: 0 auto;
545+
-webkit-overflow-scrolling: touch;
546+
overflow: scroll;
545547

546548
&.hay-mode {
547549
-webkit-transition: all 40s linear;
@@ -816,4 +818,4 @@ you can use the generic selector below, but it's slower:
816818
}
817819
.icon-eye:before {
818820
content: "\e001";
819-
}
821+
}

0 commit comments

Comments
 (0)