Skip to content

Commit

Permalink
Text Overflow in Search Results Causes UI Distortion
Browse files Browse the repository at this point in the history
  • Loading branch information
i0am0arunava committed Jan 19, 2025
1 parent 1ccd6ac commit 0145ffb
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ export default function FacilityOrganizationView({ id, facilityId }: Props) {
))
) : (
<Card className="col-span-full">
<CardContent className="p-6 text-center text-gray-500">
<CardContent className="p-6 text-center text-gray-500 max-w-full break-words">
{searchQuery
? t("no_organizations_found_matching", { searchQuery })
: t("no_sub_organizations_found")}
Expand Down
2 changes: 1 addition & 1 deletion src/pages/Organization/OrganizationView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ export default function OrganizationView({ id, navOrganizationId }: Props) {
))
) : (
<Card className="col-span-full">
<CardContent className="p-6 text-center text-gray-500">
<CardContent className="p-6 text-center text-gray-500 max-w-full break-words">
{searchQuery
? t("no_organizations_found_matching", { searchQuery })
: t("no_sub_organizations_found")}
Expand Down

0 comments on commit 0145ffb

Please sign in to comment.