Skip to content

Commit 81ef354

Browse files
committed
fixed tinder layout
1 parent 8935023 commit 81ef354

File tree

3 files changed

+2
-8
lines changed

3 files changed

+2
-8
lines changed

src/pages/miscellaneous/tinder-cards/tinder-cards.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,9 @@ <h1>{{ card.name.first | capitalize }} {{ card.name.last | capitalize}}</h1>
1818
</div>
1919
</ion-content>
2020
<ion-footer>
21-
<div class="footer">
21+
<div class="tinder-footer">
2222
<div id="swipe_dislike" class="rate" (click)="voteUp(false)"></div>
2323
<div class="info"></div>
2424
<div id="swipe_like" class="rate" (click)="voteUp(true)"></div>
2525
</div>
2626
</ion-footer>
27-

src/pages/miscellaneous/tinder-cards/tinder-cards.scss

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ page-tinder-cards {
2222
ion-footer {
2323
height: 15%;
2424
}
25-
.footer {
25+
.tinder-footer {
2626
width: 50%;
2727
margin: auto;
2828
padding-top: 6px;
@@ -66,4 +66,3 @@ page-tinder-cards {
6666
background-repeat: no-repeat;
6767
}
6868
}
69-

src/pages/miscellaneous/tinder-cards/tinder-cards.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -75,10 +75,6 @@ export class TinderCardsPage {
7575
}
7676
}
7777

78-
presentToast(message) {
79-
80-
}
81-
8278
// Add new cards to our array
8379
addNewCards(count: number) {
8480
this.http.get('https://randomuser.me/api/?results=' + count)

0 commit comments

Comments
 (0)