Skip to content
This repository has been archived by the owner on Aug 31, 2019. It is now read-only.

Center pagination controls #430

Closed
wants to merge 4 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/modals/stop-modal/stop.modal.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,5 @@
</ion-checkbox>
</ion-item>
</ion-list>
<pagination-controls center class="pages" (pageChange)="p = $event"></pagination-controls>
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Idk what this center is for... didn't seem to center the pagination

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oops, someone meant text-center (or this syntax has been deprecated, etc.). Now it "works".

<pagination-controls text-center class="pages" (pageChange)="p = $event"></pagination-controls>
</ion-content>
4 changes: 3 additions & 1 deletion src/pages/favorites/favorites.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
page-favorites {

.pages /deep/ .ng2-pagination .current {
padding-left: -40px;
}
}