Skip to content

Commit

Permalink
Fix : User Detail Responsiveness (#10366)
Browse files Browse the repository at this point in the history
  • Loading branch information
DonXavierdev authored Feb 4, 2025
1 parent 8941715 commit 73853b5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ export default function FacilityOrganizationUsers({ id, facilityId }: Props) {
</div>
</div>

<div className="grid grid-cols-1 md:grid-cols-2 xl:grid-cols-3 gap-4">
<div className="grid grid-cols-1 lg:grid-cols-2 xl:grid-cols-3 gap-4">
{users?.results?.length === 0 ? (
<Card className="col-span-full">
<CardContent className="p-6 text-center text-gray-500">
Expand All @@ -115,7 +115,7 @@ export default function FacilityOrganizationUsers({ id, facilityId }: Props) {
{userRole.user.first_name} {userRole.user.last_name}
</h1>
<span className="text-sm text-gray-500">
<span className="mr-2">
<span className="mr-2 break-words">
{userRole.user.username}
</span>
<UserStatusIndicator user={userRole.user} />
Expand Down
2 changes: 1 addition & 1 deletion src/pages/Organization/components/AddUserSheet.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export default function AddUserSheet({
return (
<Sheet open={open} onOpenChange={setOpen}>
<SheetTrigger asChild>
<Button variant="outline" data-cy="add-user-button">
<Button variant="outline" data-cy="add-user-button" className="ml-3">
<CareIcon icon="l-plus" className="mr-2 h-4 w-4" />
{t("add_user")}
</Button>
Expand Down

0 comments on commit 73853b5

Please sign in to comment.