mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-18 19:21:34 +08:00
32 lines
607 B
SCSS
32 lines
607 B
SCSS
|
|
// Content
|
|
// --------------------------------------------------
|
|
|
|
$content-container-background-color: #fff !default;
|
|
$content-background-color: #fff !default;
|
|
|
|
|
|
.content-container {
|
|
background-color: $content-container-background-color;
|
|
}
|
|
|
|
ion-content {
|
|
position: relative;
|
|
display: block;
|
|
flex: 1;
|
|
background-color: $content-background-color;
|
|
|
|
.scroll-content {
|
|
position: absolute;
|
|
top: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
left: 0;
|
|
overflow-y: auto;
|
|
overflow-x: hidden;
|
|
-webkit-overflow-scrolling: touch;
|
|
will-change: scroll-position;
|
|
}
|
|
|
|
}
|