Skip to content

Commit

Permalink
fix alignment
Browse files Browse the repository at this point in the history
  • Loading branch information
bernhardoj committed Jul 2, 2024
1 parent 936f24b commit 94167e5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/pages/workspace/WorkspacesListRow.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ function WorkspacesListRow({
const isDeleted = style && Array.isArray(style) ? style.includes(styles.offlineFeedback.deleted) : false;

const ThreeDotMenuOrPendingIcon = (
<View style={[styles.flexRow]}>
<View style={[styles.flexRow, !isSmallScreenWidth && styles.workspaceThreeDotMenu]}>
{isJoinRequestPending && (
<View style={[styles.flexRow, styles.gap2, styles.alignItemsCenter, styles.justifyContentEnd]}>
<Badge
Expand All @@ -154,7 +154,7 @@ function WorkspacesListRow({
</View>
)}
{!isJoinRequestPending && (
<View style={[styles.flexRow, styles.ml2, styles.gap1, !isSmallScreenWidth && styles.workspaceThreeDotMenu]}>
<View style={[styles.flexRow, styles.ml2, styles.gap1]}>
<View style={[styles.flexRow, styles.gap2, styles.alignItemsCenter, isNarrow && styles.workspaceListRBR]}>
<BrickRoadIndicatorIcon brickRoadIndicator={brickRoadIndicator} />
</View>
Expand Down
3 changes: 2 additions & 1 deletion src/styles/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3359,7 +3359,8 @@ const styles = (theme: ThemeColors) =>
},

workspaceThreeDotMenu: {
marginLeft: 84,
justifyContent: 'flex-end',
width: 124,
},

workspaceListRBR: {
Expand Down

0 comments on commit 94167e5

Please sign in to comment.