From 8a0558bc9662ff649730e8af734139f73a686feb Mon Sep 17 00:00:00 2001 From: Krishna Gupta Date: Sat, 11 May 2024 10:18:18 +0530 Subject: [PATCH 1/4] fix: Workspace - RBR is aligned to top of WS bar. Signed-off-by: Krishna Gupta --- src/pages/workspace/WorkspacesListRow.tsx | 4 ++-- src/styles/index.ts | 6 ++++++ 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/src/pages/workspace/WorkspacesListRow.tsx b/src/pages/workspace/WorkspacesListRow.tsx index a1affd935c50..ceab4cbd34fe 100644 --- a/src/pages/workspace/WorkspacesListRow.tsx +++ b/src/pages/workspace/WorkspacesListRow.tsx @@ -142,7 +142,7 @@ function WorkspacesListRow({ const isDeleted = style && Array.isArray(style) ? style.includes(styles.offlineFeedback.deleted) : false; const ThreeDotMenuOrPendingIcon = ( - + {isJoinRequestPending && ( - + marginTop: 6, }, + workspaceListRBR: { + flexDirection: 'column', + justifyContent: 'flex-start', + marginTop: 10, + }, + peopleRow: { width: '100%', flexDirection: 'row', From 1103541facbd21ffa52520358b37e0f2af60061b Mon Sep 17 00:00:00 2001 From: Krishna Gupta Date: Wed, 22 May 2024 14:25:54 +0530 Subject: [PATCH 2/4] fix: workspace list row padding. Signed-off-by: Krishna Gupta --- src/pages/workspace/WorkspacesListRow.tsx | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/src/pages/workspace/WorkspacesListRow.tsx b/src/pages/workspace/WorkspacesListRow.tsx index f493f429c40a..e986920752ed 100644 --- a/src/pages/workspace/WorkspacesListRow.tsx +++ b/src/pages/workspace/WorkspacesListRow.tsx @@ -142,9 +142,9 @@ function WorkspacesListRow({ const isDeleted = style && Array.isArray(style) ? style.includes(styles.offlineFeedback.deleted) : false; const ThreeDotMenuOrPendingIcon = ( - + {isJoinRequestPending && ( - + )} {!isJoinRequestPending && ( - <> - + + - + { if (isSmallScreenWidth) { @@ -181,13 +178,13 @@ function WorkspacesListRow({ disabled={shouldDisableThreeDotsMenu} /> - + )} ); return ( - + From 5d94e64bb96adcd4c59b6c7f41b9bb9d3cffd38c Mon Sep 17 00:00:00 2001 From: Krishna Gupta Date: Wed, 22 May 2024 14:31:58 +0530 Subject: [PATCH 3/4] remove margin from row items. Signed-off-by: Krishna Gupta --- src/pages/workspace/WorkspacesListRow.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pages/workspace/WorkspacesListRow.tsx b/src/pages/workspace/WorkspacesListRow.tsx index e986920752ed..09742a465746 100644 --- a/src/pages/workspace/WorkspacesListRow.tsx +++ b/src/pages/workspace/WorkspacesListRow.tsx @@ -206,7 +206,7 @@ function WorkspacesListRow({ {isSmallScreenWidth && ThreeDotMenuOrPendingIcon} - + {!!ownerDetails && ( <> )} - + Date: Wed, 22 May 2024 14:38:14 +0530 Subject: [PATCH 4/4] update margin left or RBR. Signed-off-by: Krishna Gupta --- src/pages/workspace/WorkspacesListRow.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/workspace/WorkspacesListRow.tsx b/src/pages/workspace/WorkspacesListRow.tsx index 09742a465746..09057f9569b5 100644 --- a/src/pages/workspace/WorkspacesListRow.tsx +++ b/src/pages/workspace/WorkspacesListRow.tsx @@ -154,7 +154,7 @@ function WorkspacesListRow({ )} {!isJoinRequestPending && ( - +