mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
use padding attribute
This commit is contained in:
@@ -76,7 +76,7 @@ export class ContactModal {
|
||||
@IonicView({
|
||||
template: `
|
||||
<ion-navbar *navbar><ion-title>First Page Header</ion-title><ion-nav-items primary><button id="e2eCloseMenu" (click)="closeModal()">Close</button></ion-nav-items></ion-navbar>
|
||||
<ion-content class="padding">
|
||||
<ion-content padding>
|
||||
<p>
|
||||
<button (click)="push()">Push (Go to 2nd)</button>
|
||||
</p>
|
||||
@@ -146,7 +146,7 @@ export class ModalFirstPage {
|
||||
@IonicView({
|
||||
template: `
|
||||
<ion-navbar *navbar><ion-title>Second Page Header</ion-title></ion-navbar>
|
||||
<ion-content class="padding">
|
||||
<ion-content padding>
|
||||
<p>
|
||||
<button (click)="nav.pop()">Pop (Go back to 1st)</button>
|
||||
</p>
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
<ion-content class="padding">
|
||||
<ion-content padding>
|
||||
<button id="e2eOpenModal" (click)="openModal()">Open Modal</button>
|
||||
</ion-content>
|
||||
|
||||
Reference in New Issue
Block a user