mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-10 00:27:41 +08:00
- remove scss-lint and sass-lint - add stylelint and stylelint-order packages and configuration - update all *.scss files to new syntax fixes #14805
34 lines
520 B
SCSS
34 lines
520 B
SCSS
@import "../../themes/ionic.globals";
|
|
|
|
:host {
|
|
@include position(0, 0, 0, 0);
|
|
|
|
display: block;
|
|
position: absolute;
|
|
|
|
contain: size style layout;
|
|
z-index: $z-index-scroll-content;
|
|
overflow-x: hidden;
|
|
overflow-y: auto;
|
|
-webkit-overflow-scrolling: touch;
|
|
will-change: scroll-position;
|
|
}
|
|
|
|
:host(.overscroll)::before,
|
|
:host(.overscroll)::after {
|
|
position: absolute;
|
|
|
|
width: 1px;
|
|
height: 1px;
|
|
|
|
content: "";
|
|
}
|
|
|
|
:host(.overscroll)::before {
|
|
bottom: -1px;
|
|
}
|
|
|
|
:host(.overscroll)::after {
|
|
top: -1px;
|
|
}
|