Skip to content

Commit

Permalink
fix: center pagination in mobile view for profile page
Browse files Browse the repository at this point in the history
  • Loading branch information
akinsey committed Nov 30, 2021
1 parent f053a3d commit 330e9cc
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/components/layout/SimplePage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ export default {
display: flex;
align-items: center;
justify-content: center;
width: 1.375rem;
height: 1.375rem;
margin: 0 .125rem;
color: $base-font-color;
Expand All @@ -58,6 +57,10 @@ export default {
cursor: pointer;
outline: 0;
user-select: none;
@include break-mobile-sm {
padding: 0 1rem;
width: 0;
}
&:focus, &:hover, &:focus:hover {
color: $base-font-color;
Expand Down
4 changes: 4 additions & 0 deletions src/components/users/UserPosts.vue
Original file line number Diff line number Diff line change
Expand Up @@ -326,5 +326,9 @@ export default {
.pagination-wrap {
float: right;
@include break-mobile-sm {
float: unset;
text-align: center;
}
}
</style>
3 changes: 3 additions & 0 deletions src/views/Profile.vue
Original file line number Diff line number Diff line change
Expand Up @@ -632,6 +632,9 @@ export default {
.title { font-weight: 600; }
.pagination-wrap {
float: right;
@include break-mobile-sm {
float: unset;
}
ul.pagination { float: right; margin-bottom: 0px; }
}
}
Expand Down

0 comments on commit 330e9cc

Please sign in to comment.