From ca9c0517904ff3b9741a63d0204ff29f972b250c Mon Sep 17 00:00:00 2001 From: Subhajit Ghosh <99127578+subhajit20@users.noreply.github.com> Date: Tue, 7 Nov 2023 23:33:41 +0530 Subject: [PATCH] Replaced all the css into tailwind css on Pagination component (#1763) --- components/Pagination/Pagination.js | 12 ++++++--- components/Pagination/Pagination.module.css | 12 --------- .../__snapshots__/PaginationItem.test.js.snap | 2 +- .../__snapshots__/Pagination.test.js.snap | 26 +++++++++---------- 4 files changed, 22 insertions(+), 30 deletions(-) delete mode 100644 components/Pagination/Pagination.module.css diff --git a/components/Pagination/Pagination.js b/components/Pagination/Pagination.js index 5baf7ef55..3e05a05e5 100644 --- a/components/Pagination/Pagination.js +++ b/components/Pagination/Pagination.js @@ -3,7 +3,6 @@ import LeftAngleIcon from 'static/images/icons/FontAwesome/angle-left-solid.svg' import RightAngleIcon from 'static/images/icons/FontAwesome/angle-right-solid.svg'; import { PREV_PAGE_BUTTON, NEXT_PAGE_BUTTON } from '../../common/constants/testIDs'; import PaginationItem from './PaginationItem/PaginationItem'; -import styles from './Pagination.module.css'; Pagination.propTypes = { currentPage: number.isRequired, @@ -147,7 +146,12 @@ function Pagination({ currentPage, pathname, query, totalPages }) { } return ( -