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 Apr 27, 2022
1 parent edb49ef commit 3291915
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 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
1 change: 0 additions & 1 deletion applications/launchpad_v2/src/components/Text/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ const Text = ({
}: TextProps) => {
const textStyles = {
color,
...style,
...styles.typography[type],
...style,
}
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 3291915

Please sign in to comment.