Skip to content

Commit

Permalink
MOSIP-32346 UI layout pagination sorting fixed (#399)
Browse files Browse the repository at this point in the history
* MOSIP-32346 UI layout issues fixed

Signed-off-by: Mayura Deshmukh <[email protected]>

* MOSIP-32346 UI layout issues fixed

Signed-off-by: Mayura Deshmukh <[email protected]>

* MOSIP-32346 UI layout pagination sorting fixed

Signed-off-by: Mayura Deshmukh <[email protected]>

---------

Signed-off-by: Mayura Deshmukh <[email protected]>
  • Loading branch information
mayuradesh authored May 31, 2024
1 parent adb4286 commit 3bc2003
Show file tree
Hide file tree
Showing 7 changed files with 331 additions and 220 deletions.
111 changes: 111 additions & 0 deletions pmp-reactjs-ui/package-lock.json

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

1 change: 1 addition & 0 deletions pmp-reactjs-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"react-cookie": "^7.1.4",
"react-dom": "^18.2.0",
"react-i18next": "^14.1.1",
"react-icons": "^5.2.1",
"react-paginate": "^8.2.0",
"react-router-dom": "^6.22.3",
"react-scripts": "5.0.1",
Expand Down
30 changes: 30 additions & 0 deletions pmp-reactjs-ui/src/App.css
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,33 @@
transform: rotate(360deg);
}
}

.pagination {
list-style: none;
height: 31.5px;
width: 31.5px;
display: flex;
justify-content: center;
align-items: center;
margin-top: 2px;
cursor: pointer;
}

.active {
background-color: #1447B2;
border-radius: 10%;
color: white;
padding: 12px;
font-size: small;
}

.page-item {
list-style: none;
font-size: small;
height: 25px;
width: 25px;
margin: 8px;
display: flex;
justify-content: center;
align-items: center;
}
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ function PartnerCertificatesList() {
};

return (
<div className="ml-32 mr-5 mt-5 w-full">
<div className="ml-32 mr-5 mt-5 w-full overflow-x-scroll">
{!dataLoaded && (
<LoadingIcon></LoadingIcon>
)}
Expand Down
2 changes: 1 addition & 1 deletion pmp-reactjs-ui/src/pages/dashboard/Dashboard.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ function Dashboard() {
};

return (
<div className="w-full mb-[2%] ml-20">
<div className="w-full mb-[2%] ml-20 overflow-x-scroll">
{!dataLoaded && (
<LoadingIcon></LoadingIcon>
)}
Expand Down
Loading

0 comments on commit 3bc2003

Please sign in to comment.