Skip to content

Commit

Permalink
Issues/7971/aspect ratio of bed icon (#8017)
Browse files Browse the repository at this point in the history
* fixes: Linked skills- to show on patient dashboard for "treating doctor" #7810

* Update src/Components/Patient/PatientInfoCard.tsx

Co-authored-by: Rithvik Nishad <[email protected]>

* updated with implementing suggestions

* made changes

* refactor based on suggestions

* show tooltip only if overflow

* Update src/Components/Patient/PatientInfoCard.tsx

* fixes:Maintain aspect ratio for Bed Icon in Patient Dashboard #7971
  • Loading branch information
Sulochan-khadka authored Jun 14, 2024
1 parent a7eec27 commit 34137ef
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Components/Patient/PatientInfoCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,6 @@ export default function PatientInfoCard(props: {
},
prefetch: !!consultation?.treating_physician_object?.username,
});

const { data: consentRecords, loading: consentRecordsLoading } = useQuery(
routes.listConsents,
{
Expand Down Expand Up @@ -219,7 +218,7 @@ export default function PatientInfoCard(props: {
<div className="flex justify-evenly lg:justify-normal">
<div className="flex flex-col items-start lg:items-center">
<div
className={`w-24 min-w-20 bg-gray-200 ${categoryClass}-profile h-full`}
className={`w-24 min-w-20 bg-gray-200 ${categoryClass}-profile h-24`}
>
{consultation?.current_bed &&
consultation?.discharge_date === null ? (
Expand Down

0 comments on commit 34137ef

Please sign in to comment.