Fix: Small update to categories and icons

This commit is contained in:
nizune
2021-06-28 09:55:05 +02:00
parent 539ed402ee
commit 9248ba01a2
5 changed files with 30 additions and 13 deletions

View File

@@ -8,7 +8,7 @@ const CategoryBase = styled.div<Pick<Props, 'variant'>>`
text-transform: uppercase;
margin-top: 4px;
padding: 6px 10px;
padding: 6px 0;
margin-bottom: 4px;
white-space: nowrap;
@@ -22,6 +22,11 @@ const CategoryBase = styled.div<Pick<Props, 'variant'>>`
cursor: pointer;
}
&:first-child {
margin-top: 0;
padding-top: 0;
}
${ props => props.variant === 'uniform' && css`
padding-top: 6px;
` }