Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Align and format cards in Health Profile #10298

Merged
Merged
2 changes: 2 additions & 0 deletions public/locale/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -1323,6 +1323,7 @@
"no_country_found": "No country found",
"no_data_found": "No data found",
"no_departments_teams_found": "No Departments or Teams found",
"no_diagnoses_recorded": "No diagnoses recorded",
"no_doctors_found": "No Doctors Found",
"no_duplicate_facility": "You should not create duplicate facilities",
"no_encounters_found": "No encounters found",
Expand Down Expand Up @@ -1373,6 +1374,7 @@
"no_social_profile_details_available": "No Social Profile Details Available",
"no_staff": "No staff found",
"no_sub_organizations_found": "No sub-organizations found",
"no_symptoms_recorded": "No symptoms recorded",
"no_tags_found": "No tags found",
"no_tags_selected": "No tags selected",
"no_tests_taken": "No tests taken",
Expand Down
4 changes: 2 additions & 2 deletions src/components/Patient/MedicationStatementList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -139,10 +139,10 @@ export function MedicationStatementList({
if (!filteredMedications?.length) {
return (
<Card>
<CardHeader>
<CardHeader className="px-4 py-0 pt-4 flex justify-between flex-row">
<CardTitle>{t("ongoing_medications")}</CardTitle>
</CardHeader>
<CardContent>
<CardContent className="px-4 pb-5 pt-2">
<p className="text-muted-foreground">{t("no_ongoing_medications")}</p>
</CardContent>
ashwinpraveengo marked this conversation as resolved.
Show resolved Hide resolved
</Card>
Expand Down
2 changes: 1 addition & 1 deletion src/components/Patient/allergy/list.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ export function AllergyList({
patientId={patientId}
encounterId={encounterId}
>
<CardContent className="px-2 pb-2">
<CardContent className="px-2 pb-3 pt-2">
<p className="text-muted-foreground">{t("no_allergies_recorded")}</p>
</CardContent>
</AllergyListLayout>
Expand Down
4 changes: 3 additions & 1 deletion src/components/Patient/diagnosis/list.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,9 @@ export function DiagnosisList({
patientId={patientId}
encounterId={encounterId}
>
<p className="text-muted-foreground">{t("no_diagnoses_recorded")}</p>
<CardContent className="px-2 pb-3 pt-2">
<p className="text-muted-foreground">{t("no_diagnoses_recorded")}</p>
</CardContent>
</DiagnosisListLayout>
);
}
Expand Down
4 changes: 3 additions & 1 deletion src/components/Patient/symptoms/list.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,9 @@ export function SymptomsList({
patientId={patientId}
encounterId={encounterId}
>
<p className="text-muted-foreground">{t("no_symptoms_recorded")}</p>
<CardContent className="px-2 pb-3 pt-2">
<p className="text-muted-foreground">{t("no_symptoms_recorded")}</p>
</CardContent>
</SymptomListLayout>
);
}
Expand Down
Loading