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

Fixed Discussion notes overflow and minor improvements #8968

Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/components/Facility/ConsultationDoctorNotes/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -128,16 +128,16 @@ const ConsultationDoctorNotes = (props: ConsultationDoctorNotesProps) => {
backUrl={`/facility/${facilityId}/patient/${patientId}`}
>
<div className="relative mx-3 my-2 flex grow flex-col overflow-hidden rounded-lg border border-secondary-300 bg-white p-2 sm:mx-10 sm:my-5 sm:p-5">
<div className="absolute inset-x-0 top-0 flex bg-secondary-200 text-sm shadow-md">
<div className="absolute inset-x-0 top-0 z-10 flex h-12 bg-secondary-200 px-4 text-sm shadow-md">
{keysOf(PATIENT_NOTES_THREADS).map((current) => (
<button
id={`patient-note-tab-${current}`}
key={current}
className={classNames(
"flex flex-1 justify-center border-b-2 py-2",
"flex h-full flex-1 items-center justify-center border-b-2",
thread === PATIENT_NOTES_THREADS[current]
? "border-primary-500 font-bold text-secondary-800"
: "border-secondary-300 text-secondary-800",
: "border-secondary-300 text-secondary-800 hover:text-primary-500",
)}
onClick={() => setThread(PATIENT_NOTES_THREADS[current])}
>
Expand Down
Loading