Skip to content

Commit

Permalink
chore: rerun cypress
Browse files Browse the repository at this point in the history
  • Loading branch information
jordan-ae committed Dec 27, 2024
1 parent 2be100f commit d9131d6
Showing 1 changed file with 19 additions and 8 deletions.
27 changes: 19 additions & 8 deletions src/people/WorkSpacePlanner/BountyCard/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,16 +60,27 @@ const AssignerPic = styled.div`
}
`;

const Rows = styled.div`
const RowT = styled.div`
display: flex;
justify-content: flex-start;
margin-bottom: 8px;
font-size: 14px;
color: ${colors.light.text2};
gap: 1.5rem;
span {
margin-right: 20%;
.last-span {
margin-left: auto;
margin-right: 0;
}
`;

const RowB = styled.div`
display: flex;
justify-content: flex-start;
margin-bottom: 8px;
font-size: 14px;
color: ${colors.light.text2};
gap: 4rem;
.last-span {
margin-left: auto;
Expand Down Expand Up @@ -102,19 +113,19 @@ const BountyCardComponent: React.FC<BountyCardProps> = ({
<AssignerPic>{assignee_img ? <img src={assignee_img} alt="Assigner" /> : 'Pic'}</AssignerPic>
</CardHeader>

<Rows>
<RowT>
<span title={features?.name ?? 'No Feature'}>
{truncate(features?.name ?? 'No Feature', 4)}
{truncate(features?.name ?? 'No Feature', 10)}
</span>
<span title={phase?.name ?? 'No Phase'}>{truncate(phase?.name ?? 'No Phase', 20)}</span>
</Rows>
<Rows>
</RowT>
<RowB>
<span title={id}>{id}</span>
<span title={workspace?.name ?? 'No Workspace'}>
{truncate(workspace?.name ?? 'No Workspace', 20)}
</span>
<span className="last-span">Paid?</span>
</Rows>
</RowB>
</CardContainer>
);

Expand Down

0 comments on commit d9131d6

Please sign in to comment.