diff --git a/src/components/alert/alert.js b/src/components/alert/alert.js index d33c29ce92..a5b998e38f 100644 --- a/src/components/alert/alert.js +++ b/src/components/alert/alert.js @@ -27,13 +27,8 @@ export class Alert { @NgElement() ngElement:NgElement ) { this.domElement = ngElement.domElement - this.domElement.classList.add('pane') - this.domElement.classList.add('pane-overlay') - this.config = Alert.config.invoke(this) } } -new IonicComponent(Alert, { - bind: {} -}) +new IonicComponent(Alert, {}) diff --git a/src/components/app/structure.scss b/src/components/app/structure.scss index 8aa22f681f..4edea370c3 100644 --- a/src/components/app/structure.scss +++ b/src/components/app/structure.scss @@ -59,7 +59,7 @@ html { } .nav-pane { - // container of one .pane, + // container of one ion-view position: absolute; width: 100%; height: 100%; @@ -72,7 +72,7 @@ html { height: 100vh; } - .pane { + ion-view { // user created view, contained by .nav-pane position: absolute; top: 0; diff --git a/src/components/view/view.js b/src/components/view/view.js index 38095e5560..f52cd3eef0 100644 --- a/src/components/view/view.js +++ b/src/components/view/view.js @@ -26,8 +26,6 @@ export class View { this.domElement = ngElement.domElement this.config = View.config.invoke(this) - this.domElement.classList.add('pane') - /*** TODO: MAKE MORE GOOD!! HACK HACK HACK!!!!!!!!! *****/ /*