Skip to content

Commit

Permalink
MOSIP-33572: Ui bug fixes (#422)
Browse files Browse the repository at this point in the history
* MOSIP-33572: Ui bug fixes

Signed-off-by: SwethaKrish4 <[email protected]>

* MOSIP-33572: Ui bug fixes

Signed-off-by: SwethaKrish4 <[email protected]>

---------

Signed-off-by: SwethaKrish4 <[email protected]>
  • Loading branch information
SwethaKrish4 authored Jun 7, 2024
1 parent 232852d commit e961878
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions pmp-reactjs-ui/src/pages/dashboard/Dashboard.js
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,8 @@ function Dashboard() {
{dataLoaded && (
<>
{errorMsg && (
<div className="flex justify-end absolute right-0">
<div className="flex justify-between items-center min-h-14 bg-[#C61818] rounded-xl p-3">
<div className="flex justify-end max-w-7xl mt-2 absolute right-2">
<div className="flex justify-between items-center max-w-96 min-h-14 min-w-72 bg-[#C61818] rounded-xl p-4">
<ErrorMessage errorCode={errorCode} errorMessage={errorMsg} clickOnCancel={cancelErrorMsg}></ErrorMessage>
</div>
</div>
Expand Down
4 changes: 2 additions & 2 deletions pmp-reactjs-ui/src/pages/policies/Policies.js
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ function Policies() {
<>
{errorMsg && (
<div className="flex justify-end max-w-7xl absolute right-0">
<div className="flex justify-between items-center max-w-96 min-h-14 min-w-72 bg-[#C61818] rounded-xl p-3">
<div className="flex justify-between items-center max-w-96 min-h-14 min-w-72 bg-[#C61818] rounded-xl p-3 z-10">
<ErrorMessage errorCode={errorCode} errorMessage={errorMsg} clickOnCancel={cancelErrorMsg}></ErrorMessage>
</div>
</div>
Expand Down Expand Up @@ -310,7 +310,7 @@ function Policies() {
</div>
<div className="w-full flex justify-end relative ">
<button onClick={() => setFilter(!filter)} type="button" className={`flex justify-center items-center w-[23%] text-base py-3 text-tory-blue border border-[#1447B2] font-semibold rounded-md text-center
${filter ? 'bg-tory-blue text-white' : 'text-tory-blue bg-white'}`}
${filter ? 'bg-tory-blue text-white' : 'text-tory-blue bg-white'} `}
>
{t('policies.filterBtn')}
<svg
Expand Down

0 comments on commit e961878

Please sign in to comment.