mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-08 15:51:16 +08:00
fix(content): scrol-inner takes all height
This commit is contained in:
@ -15,4 +15,8 @@ ion-content {
|
|||||||
|
|
||||||
margin: 0 !important; // scss-lint:disable all
|
margin: 0 !important; // scss-lint:disable all
|
||||||
padding: 0 !important; // scss-lint:disable all
|
padding: 0 !important; // scss-lint:disable all
|
||||||
|
|
||||||
|
> .scroll-inner {
|
||||||
|
min-height: 100%;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -19,7 +19,7 @@
|
|||||||
</ion-header>
|
</ion-header>
|
||||||
|
|
||||||
<div style="display: flex; flex: 1">
|
<div style="display: flex; flex: 1">
|
||||||
<ion-content padding style="text-align: center; flex: 2" id="content">
|
<ion-content scroll-enabled="false" padding style="text-align: center; flex: 2" id="content">
|
||||||
<f></f>
|
<f></f>
|
||||||
<ion-button onclick="toggleFullscreen()">Toggle content.fullscreen</ion-button>
|
<ion-button onclick="toggleFullscreen()">Toggle content.fullscreen</ion-button>
|
||||||
<p>
|
<p>
|
||||||
|
|||||||
@ -48,4 +48,8 @@ ion-scroll {
|
|||||||
&.overscroll::after {
|
&.overscroll::after {
|
||||||
top: -1px;
|
top: -1px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
> .scroll-inner {
|
||||||
|
min-height: 100%;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user