Skip to content

Commit

Permalink
MOSIP-34710: Ui bug fixes (#669)
Browse files Browse the repository at this point in the history
Signed-off-by: SwethaKrish4 <[email protected]>
  • Loading branch information
SwethaKrish4 authored Aug 1, 2024
1 parent 6a23449 commit 6050007
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
16 changes: 8 additions & 8 deletions pmp-reactjs-ui/src/nav/UserProfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,15 @@ function UserProfile() {
<p className="font-[600] text-suva-gray text-xs">
{t("userProfile.firstName")}
</p>
<p className="font-[600] text-vulcan text-sm break-all break-normal break-words">
<p className="font-[600] text-vulcan text-sm break-normal break-words">
{userData.firstName}
</p>
</div>
<div className={`w-[49%] max-[600px]:w-[100%] mb-3 ${isLoginLanguageRTL ? "mr-[1%]": "ml-[1%]"}`}>
<p className="font-[600] text-suva-gray text-xs">
{t("userProfile.lastName")}
</p>
<p className="font-[600] text-vulcan text-sm break-all break-normal break-words">
<p className="font-[600] text-vulcan text-sm break-normal break-words">
{userData.lastName}
</p>
</div>
Expand All @@ -46,15 +46,15 @@ function UserProfile() {
<p className="font-[600] text-suva-gray text-xs">
{t("userProfile.organisationName")}
</p>
<p className="font-[600] text-vulcan text-sm break-all break-normal break-words">
<p className="font-[600] text-vulcan text-sm break-normal break-words">
{userData.orgName}
</p>
</div>
<div className={`w-[49%] max-[600px]:w-[100%] mb-3 ${isLoginLanguageRTL ? "mr-[1%]": "ml-[1%]"}`}>
<p className="font-[600] text-suva-gray text-xs">
{t("userProfile.address")}
</p>
<p className="font-[600] text-vulcan text-sm break-all break-normal break-words">
<p className="font-[600] text-vulcan text-sm break-normal break-words">
{userData.address}
</p>
</div>
Expand All @@ -64,15 +64,15 @@ function UserProfile() {
<p className="font-[600] text-suva-gray text-xs">
{t("userProfile.partnerType")}
</p>
<p className="font-[600] text-vulcan text-sm break-all break-normal break-words">
<p className="font-[600] text-vulcan text-sm break-normal break-words">
{getPartnerTypeDescription(userData.partnerType, t)}
</p>
</div>
<div className={`w-[49%] max-[600px]:w-[100%] mb-3 ${isLoginLanguageRTL ? "mr-[1%]": "ml-[1%]"}`}>
<p className="font-[600] text-suva-gray text-xs">
{t("userProfile.phoneNumber")}
</p>
<p className="font-[600] text-vulcan text-sm break-all break-normal break-words">
<p className="font-[600] text-vulcan text-sm break-normal break-words">
{userData.phoneNumber}
</p>
</div>
Expand All @@ -82,15 +82,15 @@ function UserProfile() {
<p className="font-[600] text-suva-gray text-xs">
{t("userProfile.emailAddress")}
</p>
<p className="font-[600] text-vulcan text-sm break-all break-normal break-words">
<p className="font-[600] text-vulcan text-sm break-normal break-words">
{userData.email}
</p>
</div>
<div className={`w-[49%] max-[600px]:w-[100%] mb-3 ${isLoginLanguageRTL ? "mr-[1%]": "ml-[1%]"}`}>
<p className="font-[600] text-suva-gray text-xs">
{t("userProfile.userName")}
</p>
<p className="font-[600] text-vulcan text-sm break-all break-normal break-words">
<p className="font-[600] text-vulcan text-sm break-normal break-words">
{userData.userName}
</p>
</div>
Expand Down
2 changes: 1 addition & 1 deletion pmp-reactjs-ui/src/pages/common/CopyIdPopup.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ function CopyIdPopUp({ closePopUp, policyName, partnerId, id, navigateUrl, heade
<div className={`bg-white md:w-[378px] w-[40%] mx-auto rounded-lg shadow-lg h-fit`}>
<header className={`flex justify-between p-[5%]`}>
<div className={`flex-col`}>
<h1 className={`font-bold text-base text-[#333333] break-all break-normal break-words`}>{policyName}</h1>
<h1 className={`font-bold text-base text-[#333333] break-normal break-words`}>{policyName}</h1>
<p className={`text-xs font-bold text-[#717171] ${isLoginLanguageRTL ? "text-right" : "text-left"}`}># {partnerId}</p>
</div>
<img src={close_icon} alt="" onClick={dismiss} className={`h-7 cursor-pointer max-[450px]:h-4 ${isLoginLanguageRTL ? "pr-2 " : "pl-2"}`} tabIndex="0" onKeyPress={(e) => onPressEnterKey(e, dismiss)} />
Expand Down

0 comments on commit 6050007

Please sign in to comment.