Skip to content

Commit

Permalink
fix(content): nested content
Browse files Browse the repository at this point in the history
fixes #15680
  • Loading branch information
manucorporat committed Sep 24, 2018
1 parent f6678c4 commit 5f5ba66
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions core/src/components/content/content.scss
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@

flex: 1;

width: 100%;
height: 100%;

/* stylelint-disable */
margin: 0 !important;
padding: 0 !important;
Expand Down
2 changes: 2 additions & 0 deletions core/src/components/content/test/basic/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@

<div style="display: flex; flex: 1">
<ion-content padding style="text-align: center; flex: 2" id="content">
<ion-content>
<f style="height: 50%"></f>
<ion-button onclick="toggleFullscreen()">Toggle content.fullscreen</ion-button>
<p>
Expand All @@ -46,6 +47,7 @@
<f></f>
<f></f>
</ion-content>
</ion-content>
<ion-content padding style="display: none" id="content3">
<f></f>
<f></f>
Expand Down

0 comments on commit 5f5ba66

Please sign in to comment.