Skip to content

Commit

Permalink
Merge pull request #37 from ajayns/login-ui
Browse files Browse the repository at this point in the history
Fixes login box padding issue
  • Loading branch information
karlprieb authored Apr 17, 2018
2 parents bd05241 + 29fabd6 commit 4022478
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@
</a>
</ion-row>

<ion-item>
<ion-item class="login-input">
<ion-label floating>Username</ion-label>
<ion-input type="text" [(ngModel)]="model.username" required></ion-input>
</ion-item>

<ion-item>
<ion-item class="login-input">
<ion-label floating>Password</ion-label>
<ion-input type="password" [(ngModel)]="model.password" required></ion-input>
</ion-item>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,11 @@
max-width: 700px;
}

.login-input {
padding: 0 1em 0 1em;
}


@media screen and (max-height: 320px) {
.hide-on-keyboard {
display: none;
Expand Down

0 comments on commit 4022478

Please sign in to comment.