File tree Expand file tree Collapse file tree 2 files changed +25
-1
lines changed Expand file tree Collapse file tree 2 files changed +25
-1
lines changed Original file line number Diff line number Diff line change 7
7
</ ion-header >
8
8
9
9
10
- < ion-content padding style ="text-align:center ">
10
+ < ion-content padding style ="text-align:center " no-bounce >
11
11
12
12
< p >
13
13
< button > < span > Default</ span > </ button >
Original file line number Diff line number Diff line change @@ -45,3 +45,27 @@ ion-page.show-page ~ .nav-decor {
45
45
// --------------------------------------------------
46
46
47
47
@include content-margin ($content-ios-margin );
48
+
49
+
50
+ // iOS Content Scroll
51
+ // --------------------------------------------------
52
+
53
+ ion-content :not ([no-bounce ]) > scroll-content {
54
+ & ::before ,
55
+ & ::after {
56
+ position : absolute ;
57
+
58
+ width : 1px ;
59
+ height : 1px ;
60
+
61
+ content : " " ;
62
+ }
63
+
64
+ & ::before {
65
+ bottom : -1px ;
66
+ }
67
+
68
+ & ::after {
69
+ top : -1px ;
70
+ }
71
+ }
You can’t perform that action at this time.
0 commit comments