feat(ion-content): iOS only scroll bounce

This commit is contained in:
Manu Mtz.-Almeida
2016-06-28 05:26:48 +02:00
committed by Adam Bradley
parent d458b1ec90
commit 5c804450c4
2 changed files with 25 additions and 1 deletions

View File

@ -45,3 +45,27 @@ ion-page.show-page ~ .nav-decor {
// --------------------------------------------------
@include content-margin($content-ios-margin);
// iOS Content Scroll
// --------------------------------------------------
ion-content:not([no-bounce]) > scroll-content {
&::before,
&::after {
position: absolute;
width: 1px;
height: 1px;
content: "";
}
&::before {
bottom: -1px;
}
&::after {
top: -1px;
}
}