Remove extra margin for checkboxes (#35169)

This commit is contained in:
Alex Khomenko 2021-06-04 14:10:57 +03:00 committed by GitHub
parent bbfafa7908
commit bfcc6a2248
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -53,7 +53,7 @@ export const SearchItem: FC<Props> = ({ item, editable, onToggleChecked, onTagSe
style={{ minHeight: SEARCH_ITEM_HEIGHT }} style={{ minHeight: SEARCH_ITEM_HEIGHT }}
className={styles.container} className={styles.container}
> >
<Card.Figure align={'center'}> <Card.Figure align={'center'} className={styles.checkbox}>
<SearchCheckbox editable={editable} checked={item.checked} onClick={toggleItem} /> <SearchCheckbox editable={editable} checked={item.checked} onClick={toggleItem} />
</Card.Figure> </Card.Figure>
<Card.Meta separator={''}> <Card.Meta separator={''}>
@ -94,5 +94,8 @@ const getStyles = (theme: GrafanaTheme) => {
margin-bottom: 0; margin-bottom: 0;
} }
`, `,
checkbox: css`
margin-right: 0;
`,
}; };
}; };