Skip to content

Commit

Permalink
fix(popover): style the ion-content background in a popover to match …
Browse files Browse the repository at this point in the history
…popover bg
  • Loading branch information
brandyscarney committed Jun 3, 2016
1 parent c801d18 commit 9ea89ea
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/components/popover/popover.ios.scss
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ $popover-ios-arrow-background: $popover-ios-background !default;
border-radius: $popover-ios-border-radius;
color: $popover-ios-text-color;
background: $popover-ios-background;

ion-content {
background: $popover-ios-background;
}
}

.popover-content .item {
Expand Down
4 changes: 4 additions & 0 deletions src/components/popover/popover.md.scss
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ $popover-md-item-background: $popover-md-background !default;
box-shadow: $popover-md-box-shadow;

transform-origin: top left;

ion-content {
background: $popover-md-background;
}
}

.popover-content .item {
Expand Down
4 changes: 4 additions & 0 deletions src/components/popover/popover.wp.scss
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ $popover-wp-item-background: $popover-wp-background !default;
background: $popover-wp-background;

transform-origin: top left;

ion-content {
background: $popover-wp-background;
}
}

.popover-content .item {
Expand Down

0 comments on commit 9ea89ea

Please sign in to comment.