Skip to content

Commit

Permalink
Fix styles for checkbox component (#3455)
Browse files Browse the repository at this point in the history
  • Loading branch information
jamakase committed May 19, 2021
1 parent da17f4e commit 2941e29
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion airbyte-webapp/src/components/CheckBox/CheckBox.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,12 @@ const CheckBoxInput = styled.input`
width: 0;
height: 0;
margin: 0;
position: absolute;
`;

const CheckBoxContainer = styled.label`
height: 20px;
width: 20px;
min-width: 20px;
background: ${({ theme }) => theme.greyColor20};
color: ${({ theme }) => theme.primaryColor};
text-align: center;
Expand All @@ -22,6 +23,8 @@ const CheckBoxContainer = styled.label`
display: inline-block;
padding: 2px 0;
cursor: pointer;
vertical-align: top;
position: relative;
`;

const CheckBox: React.FC<React.InputHTMLAttributes<HTMLInputElement>> = (
Expand Down

0 comments on commit 2941e29

Please sign in to comment.