Skip to content

Commit

Permalink
Fix pagination style on mobile devices (#4084)
Browse files Browse the repository at this point in the history
Signed-off-by: Cintia Sánchez García <cynthiasg@icloud.com>
  • Loading branch information
cynthia-sg authored Oct 8, 2024
1 parent a40ec5f commit 00988b2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 8 deletions.
4 changes: 0 additions & 4 deletions web/src/layout/common/Pagination.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,4 @@
.pagination {
font-size: 0.7rem;
}

.btnIcon {
line-height: 1rem;
}
}
4 changes: 2 additions & 2 deletions web/src/layout/common/Pagination.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ const Pagination = (props: Props) => {
content={
<>
<span className="d-none d-sm-block">Previous</span>
<span className={`d-block d-sm-none ${styles.btnIcon}`}>
<span className="d-block d-sm-none">
<FaCaretLeft />
</span>
</>
Expand Down Expand Up @@ -120,7 +120,7 @@ const Pagination = (props: Props) => {
content={
<>
<span className="d-none d-sm-block">Next</span>
<span className={`d-block d-sm-none ${styles.btnIcon}`}>
<span className="d-block d-sm-none">
<FaCaretRight />
</span>
</>
Expand Down
4 changes: 2 additions & 2 deletions web/src/layout/common/__snapshots__/Pagination.test.tsx.snap

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 00988b2

Please sign in to comment.