From c801d1800bc658dcc0b17ce68900f135b87059bc Mon Sep 17 00:00:00 2001 From: Brandy Carney Date: Fri, 3 Jun 2016 12:40:17 -0400 Subject: [PATCH] fix(popover): allow popover to have an ion-content wrapping it --- src/components/popover/popover.scss | 5 +- src/components/popover/test/basic/index.ts | 116 +++++++++++---------- 2 files changed, 61 insertions(+), 60 deletions(-) diff --git a/src/components/popover/popover.scss b/src/components/popover/popover.scss index 4aab03936aa..fb2e80612c5 100644 --- a/src/components/popover/popover.scss +++ b/src/components/popover/popover.scss @@ -36,10 +36,7 @@ ion-popover { min-height: 200px; - ion-page { + scroll-content { position: relative; - display: flex; - - height: auto; } } diff --git a/src/components/popover/test/basic/index.ts b/src/components/popover/test/basic/index.ts index e53b34caf60..5c444cb398d 100644 --- a/src/components/popover/test/basic/index.ts +++ b/src/components/popover/test/basic/index.ts @@ -4,58 +4,60 @@ import {ionicBootstrap, Popover, NavController, Content, NavParams, ViewControll @Component({ template: ` - - - - - - - - - - - - - - - - - - - - - - - - - Athelas - - - - Charter - - - - Iowan - - - - Palatino - - - - San Francisco - - - - Seravek - - - - Times New Roman - - - + + + + + + + + + + + + + + + + + + + + + + + + + + Athelas + + + + Charter + + + + Iowan + + + + Palatino + + + + San Francisco + + + + Seravek + + + + Times New Roman + + + + `, }) class PopoverRadioPage { @@ -155,10 +157,12 @@ class PopoverListPage { @Component({ template: ` - - Ionic - - + + + Ionic + + + ` }) class PopoverLongListPage {