Skip to content

Commit

Permalink
fix: add right margin to StyledCountText when readOnly
Browse files Browse the repository at this point in the history
  • Loading branch information
HellWolf93 committed Jun 26, 2020
1 parent c5bfda9 commit 6c1ba86
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/components/MultiSelect/styled/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -139,4 +139,10 @@ export const StyledCountText = attachThemeAttrs(styled.span)`
font-weight: bold;
font-size: ${FONT_SIZE_TEXT_LARGE};
align-self: center;
${props =>
props.readOnly &&
`
margin-right: 0.8rem;
`}
`;

0 comments on commit 6c1ba86

Please sign in to comment.