Skip to content

Commit

Permalink
remove scroll bar
Browse files Browse the repository at this point in the history
  • Loading branch information
AshrafMd-1 committed Dec 25, 2023
1 parent d906c6a commit 7e2b58b
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/Components/Patient/PatientHome.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -312,18 +312,18 @@ export const PatientHome = (props: any) => {
) {
const medHis = patientData.medical_history;
patientMedHis = medHis.map((item: any, idx: number) => (
<div className="sm:col-span-1" key={`med_his_${idx}`}>
<>
{item?.disease !== "NO" && (
<>
<div className="overflow-x-scroll text-sm font-semibold leading-5 text-zinc-400">
<div className="sm:col-span-1" key={`med_his_${idx}`}>
<div className="break-words text-sm font-semibold leading-5 text-zinc-400">
{item.disease}
</div>
<div className="mt-1 overflow-x-scroll whitespace-normal break-words text-sm font-medium leading-5">
<div className="mt-1 whitespace-normal break-words text-sm font-medium leading-5">
{item.details}
</div>
</>
</div>
)}
</div>
</>
));
}

Expand Down

0 comments on commit 7e2b58b

Please sign in to comment.