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

🚀 Improved info of vitals monitor in mobile view. #6574

Merged
Merged
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/VitalsMonitor/HL7PatientVitalsMonitor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export default function HL7PatientVitalsMonitor(props: IVitalsComponentProps) {
<div className="flex flex-col gap-1 rounded bg-[#020617] p-2">
{props.patientAssetBed && (
<div className="flex items-center justify-between px-2 tracking-wide">
<div className="flex items-center gap-2">
<div className="flex flex-col gap-2 md:flex-row">
{patient ? (
<Link
href={`/facility/${patient.last_consultation?.facility}/patient/${patient.id}/consultation/${patient.last_consultation?.id}`}
Expand All @@ -64,7 +64,7 @@ export default function HL7PatientVitalsMonitor(props: IVitalsComponentProps) {
</span>
)}
</div>
<div className="flex items-center gap-3 text-xs md:text-sm">
<div className="flex flex-col items-center gap-2 text-xs md:flex-row md:text-sm">
{asset && (
<Link
className="flex items-center gap-1 text-gray-500"
Expand All @@ -76,7 +76,7 @@ export default function HL7PatientVitalsMonitor(props: IVitalsComponentProps) {
)}
{bed && (
<Link
className="flex items-center gap-2 text-gray-500"
className="flex flex-col items-center gap-2 text-gray-500 md:flex-row"
href={`/facility/${patient?.facility_object?.id}/location/${bed?.location_object?.id}/beds`}
>
<span className="flex items-center gap-1">
Expand Down
Loading