Skip to content

Commit

Permalink
Change the size of large tags to 26px (#104)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomaszantas authored and tarnas14 committed May 4, 2022
1 parent 4117b2a commit e095514
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion applications/launchpad_v2/src/components/Tag/styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export const TagContainer = styled.div<{ variant?: string }>`
justify-content: center;
align-items: center;
border-radius: 64px;
height: ${({ variant }) => (variant === 'large' ? '30px' : '26px')};
height: 26px;
border: 0;
width: fit-content;
padding-left: 12px;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,11 @@ const BaseNode = ({
color={running ? theme.inverted.primary : undefined}
>
{t.baseNode.title}
{running && <Tag type='running'>{t.common.adjectives.running}</Tag>}
{running && (
<Tag type='running' variant='large'>
{t.common.adjectives.running}
</Tag>
)}
</Text>
<Box
border={false}
Expand Down

0 comments on commit e095514

Please sign in to comment.