Skip to content

Commit

Permalink
fix(Checkbox): Fix display problems that may arise misplaced
Browse files Browse the repository at this point in the history
  • Loading branch information
xinyao27 committed Sep 19, 2019
1 parent c9749a0 commit 3e744d2
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions packages/fluent-ui/src/Checkbox/Checkbox.styled.ts
Expand Up @@ -5,13 +5,12 @@ import { CheckboxClassProps } from './Checkbox.type'
const root = (theme: Theme): Style => ({
width: 20,
height: 20,
display: 'inline-flex',
alignItems: 'center',
justifyContent: 'center',
display: 'inline-block',
position: 'relative',
cursor: 'pointer',
borderRadius: 2,
border: '2px solid',
overflow: 'hidden',
transition: theme.transitions!.checkbox,
color: theme.colors!.black!.default,
backgroundColor: theme.colors!.white!.default,
Expand Down

0 comments on commit 3e744d2

Please sign in to comment.