Skip to content

Commit

Permalink
fix(completionChip): fix css
Browse files Browse the repository at this point in the history
  • Loading branch information
Clm-Roig committed Mar 22, 2022
1 parent 9e06e0b commit 177c6c0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/CompletionChip/CompletionChip.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const CompletionChip: FC<Props> = ({ completion }) => {
clickable={true}
color="primary"
label={quantity.toString() + ' ' + unit}
sx={{ fontSize: 16 }}
sx={{ '.MuiChip-label': { height: 16 }, borderRadius: 2, fontSize: 16 }}
/>
);
};
Expand Down
2 changes: 1 addition & 1 deletion src/components/CompletionChipList/CompletionChipList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ interface Props {

const CompletionChipList: FC<Props> = ({ completions }) => {
return (
<Box display="flex" gap={0.5} flexWrap={'wrap'}>
<Box display="flex" gap={0.5} flexWrap={'wrap'} sx={{ justifyContent: 'center' }}>
{completions.map((c, idx) => (
<CompletionChip key={c.quantity.toString() + idx} completion={c} />
))}
Expand Down

0 comments on commit 177c6c0

Please sign in to comment.