Skip to content

Commit

Permalink
Allow occupancy button to resize on default font size change. Fixes o…
Browse files Browse the repository at this point in the history
  • Loading branch information
Omkar76 committed Dec 7, 2023
1 parent 745d4f8 commit 55d266f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Components/Facility/FacilityCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ export const FacilityCard = (props: { facility: any; userType: any }) => {
<div className="flex w-full flex-wrap justify-between gap-2 py-2">
<div className="flex flex-wrap gap-2">
<div
className={`tooltip ml-auto flex h-[38px] w-fit items-center justify-center rounded-md px-2 text-xl ${
className={`tooltip button-size-default ml-auto flex w-fit items-center justify-center rounded-md px-2 ${
facility.patient_count / facility.bed_count > 0.85
? "button-danger-border bg-red-500"
: "button-primary-border bg-primary-100"
Expand All @@ -178,7 +178,7 @@ export const FacilityCard = (props: { facility: any; userType: any }) => {
)}
/>{" "}
<dt
className={`my-1 text-sm font-semibold ${
className={`text-sm font-semibold ${
facility.patient_count / facility.bed_count > 0.85
? "text-white"
: "text-gray-700"
Expand Down

0 comments on commit 55d266f

Please sign in to comment.