From bb5bab53ce49c91deddaf20cb32e2885f66a7ed6 Mon Sep 17 00:00:00 2001 From: Nicolay Arefyeu Date: Mon, 8 Sep 2025 13:27:23 +0300 Subject: [PATCH] Fix highlight for Workspace row --- src/pages/workspace/WorkspacesListRow.tsx | 124 +++++++++++----------- 1 file changed, 63 insertions(+), 61 deletions(-) diff --git a/src/pages/workspace/WorkspacesListRow.tsx b/src/pages/workspace/WorkspacesListRow.tsx index 3ef71c7b88e8f..d62dc87b7bcd4 100644 --- a/src/pages/workspace/WorkspacesListRow.tsx +++ b/src/pages/workspace/WorkspacesListRow.tsx @@ -141,7 +141,7 @@ function WorkspacesListRow({ borderRadius: variables.componentBorderRadius, shouldHighlight: !!shouldAnimateInHighlight, highlightColor: theme.messageHighlightBG, - backgroundColor: theme.highlightBG, + backgroundColor: theme.transparent, }); useEffect(() => { @@ -213,80 +213,82 @@ function WorkspacesListRow({ ); return ( - - - - - - - - {isNarrow && ThreeDotMenuOrPendingIcon} - - - {!!ownerDetails && ( - <> + + + + + - - + + {isNarrow && ThreeDotMenuOrPendingIcon} + + + {!!ownerDetails && ( + <> + + + + + {Str.removeSMSDomain(ownerDetails?.login ?? '')} + + + + )} + + + + + {!!workspaceType && ( - {Str.removeSMSDomain(ownerDetails?.login ?? '')} + {getUserFriendlyWorkspaceType(workspaceType)} - - - )} - - - - - {!!workspaceType && ( + )} - {getUserFriendlyWorkspaceType(workspaceType)} + {translate('workspace.common.plan')} - )} - - {translate('workspace.common.plan')} - + - - {!isNarrow && ThreeDotMenuOrPendingIcon} - + {!isNarrow && ThreeDotMenuOrPendingIcon} + + ); }