Skip to content

Commit

Permalink
"Updates edit icons and link styling" ohcnetwork#10812 (ohcnetwork#10862
Browse files Browse the repository at this point in the history
)
  • Loading branch information
muzammil-13 authored and ashwinpraveengo committed Mar 2, 2025
1 parent 902b755 commit c68fe54
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions src/components/Facility/FacilityHome.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ export const FacilityHome = ({ facilityId }: Props) => {
aria-label={t("edit_cover_photo")}
>
<CareIcon
icon="l-edit"
icon="l-pen"
className="text-white"
aria-hidden="true"
/>
Expand All @@ -290,7 +290,7 @@ export const FacilityHome = ({ facilityId }: Props) => {
className="cursor-pointer mt-2 [@media(max-width:25rem)]:mt-12 [@media(max-width:25rem)]:w-full"
variant="outline"
>
<CareIcon icon="l-edit" />
<CareIcon icon="l-pen" />
{t("edit_facility_details")}
</Button>
}
Expand Down
4 changes: 2 additions & 2 deletions src/components/Patient/allergy/list.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -301,9 +301,9 @@ const AllergyListLayout = ({
{facilityId && encounterId && (
<Link
href={`/facility/${facilityId}/patient/${patientId}/encounter/${encounterId}/questionnaire/allergy_intolerance`}
className="flex items-center gap-1 text-sm hover:text-gray-500 text-gray-950 underline"
className="flex items-center gap-1 text-sm hover:text-gray-500 text-gray-950"
>
<CareIcon icon="l-edit" className="w-4 h-4" />
<CareIcon icon="l-pen" className="w-4 h-4" />
{t("edit")}
</Link>
)}
Expand Down
4 changes: 2 additions & 2 deletions src/components/Patient/diagnosis/list.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -144,9 +144,9 @@ const DiagnosisListLayout = ({
{facilityId && encounterId && (
<Link
href={`/facility/${facilityId}/patient/${patientId}/encounter/${encounterId}/questionnaire/diagnosis`}
className="flex items-center gap-1 text-sm hover:text-gray-500 text-gray-950 underline"
className="flex items-center gap-1 text-sm hover:text-gray-500 text-gray-950"
>
<CareIcon icon="l-edit" className="w-4 h-4" />
<CareIcon icon="l-pen" className="w-4 h-4" />
{t("edit")}
</Link>
)}
Expand Down
4 changes: 2 additions & 2 deletions src/components/Patient/symptoms/list.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -135,9 +135,9 @@ const SymptomListLayout = ({
{facilityId && encounterId && (
<Link
href={`/facility/${facilityId}/patient/${patientId}/encounter/${encounterId}/questionnaire/symptom`}
className="flex items-center gap-1 text-sm hover:text-gray-500 text-gray-950 underline"
className="flex items-center gap-1 text-sm hover:text-gray-500 text-gray-950"
>
<CareIcon icon="l-edit" className="w-4 h-4" />
<CareIcon icon="l-pen" className="w-4 h-4" />
{t("edit")}
</Link>
)}
Expand Down
2 changes: 1 addition & 1 deletion src/components/Questionnaire/show.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ export function QuestionnaireShow({ id }: QuestionnaireShowProps) {
Back to List
</Button>
<Button onClick={() => navigate(`/admin/questionnaire/${id}/edit`)}>
<CareIcon icon="l-edit" className="mr-2 h-4 w-4" />
<CareIcon icon="l-pen" className="mr-2 h-4 w-4" />
Edit
</Button>
<DropdownMenu>
Expand Down
2 changes: 1 addition & 1 deletion src/components/Resource/ResourceDetails.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ export default function ResourceDetails({
navigate(`/facility/${facilityId}/resource/${id}/update`)
}
>
<CareIcon icon="l-edit" className="mr-2 h-4 w-4" />
<CareIcon icon="l-pen" className="mr-2 h-4 w-4" />
{t("update_status")}
</Button>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/components/Users/UserResetPassword.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ export default function UserResetPassword({
variant="primary"
>
<CareIcon
icon={isEditing ? "l-times" : "l-edit"}
icon={isEditing ? "l-times" : "l-pen"}
className="h-4 w-4"
/>
{t("update_password")}
Expand Down
2 changes: 1 addition & 1 deletion src/pages/Organization/OrganizationFacilities.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ export default function OrganizationFacilities({
size="icon"
className="text-primary"
>
<CareIcon icon="l-edit" className="h-4 w-4" />
<CareIcon icon="l-pen" className="h-4 w-4" />
<span className="">{t("edit_facility")}</span>
</Button>
}
Expand Down

0 comments on commit c68fe54

Please sign in to comment.