Skip to content

Commit cb9a79c

Browse files
committed
Add negative right margin to Checkbox
1 parent 8cd4b20 commit cb9a79c

File tree

1 file changed

+5
-1
lines changed
  • extensions/ql-vscode/src/view/variant-analysis

1 file changed

+5
-1
lines changed

extensions/ql-vscode/src/view/variant-analysis/RepoRow.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,10 @@ const MetadataContainer = styled.div`
6262
margin-left: auto;
6363
`;
6464

65+
const Checkbox = styled(VscodeCheckbox)`
66+
margin-right: -9px; // VscodeCheckbox has 9px margin on the right by default
67+
`;
68+
6569
type VisibilityProps = {
6670
isPrivate?: boolean;
6771
};
@@ -255,7 +259,7 @@ export const RepoRow = ({
255259
disabled={disabled}
256260
aria-expanded={isExpanded}
257261
>
258-
<VscodeCheckbox
262+
<Checkbox
259263
onChange={onChangeCheckbox}
260264
onClick={onClickCheckbox}
261265
checked={selected}

0 commit comments

Comments
 (0)