Skip to content

Commit

Permalink
Merge pull request #460 from sinamics/translations
Browse files Browse the repository at this point in the history
Alignment fix for pr #459
  • Loading branch information
sinamics authored Jul 12, 2024
2 parents 707fd96 + b611f10 commit 2d15103
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/__tests__/pages/network/[id].test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ describe("NetworkById component", () => {
await waitFor(
() => {
const parentSpan = screen.getByTitle("User is offline");
expect(parentSpan).toHaveClass("text-error flex gap-1");
expect(parentSpan).toHaveClass("text-error");
},
{ timeout: 2000 },
);
Expand Down
8 changes: 2 additions & 6 deletions src/components/networkByIdPage/table/memberHeaderColumns.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -359,11 +359,7 @@ export const MemberHeaderColumns = ({ nwid, central = false, organizationId }: I
}
// The user is considered offline
return (
<span
style={cursorStyle}
className="text-error flex gap-1"
title="User is offline"
>
<span style={cursorStyle} className="text-error" title="User is offline">
<span>{c("header.conStatus.offline")}</span>
<span>
<TimeAgo date={lastSeen} formatter={formatTime} title={lastSeen} />
Expand Down Expand Up @@ -419,7 +415,7 @@ export const MemberHeaderColumns = ({ nwid, central = false, organizationId }: I
return (
<span
style={cursorStyle}
className="text-error flex gap-1"
className="text-error space-x-1"
title="User is offline"
>
<span>{c("header.conStatus.offline")}</span>
Expand Down

0 comments on commit 2d15103

Please sign in to comment.