Remove extra margin for checkboxes (#35169) (#35242)

(cherry picked from commit bfcc6a2248)

Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>
This commit is contained in:
Grot (@grafanabot)
2021-06-04 13:34:29 +02:00
committed by GitHub
co-authored by Alex Khomenko
parent 3fa0811d6b
commit 7b64b6f140
@@ -53,7 +53,7 @@ export const SearchItem: FC<Props> = ({ item, editable, onToggleChecked, onTagSe
style={{ minHeight: SEARCH_ITEM_HEIGHT }}
className={styles.container}
>
<Card.Figure align={'center'}>
<Card.Figure align={'center'} className={styles.checkbox}>
<SearchCheckbox editable={editable} checked={item.checked} onClick={toggleItem} />
</Card.Figure>
<Card.Meta separator={''}>
@@ -94,5 +94,8 @@ const getStyles = (theme: GrafanaTheme) => {
margin-bottom: 0;
}
`,
checkbox: css`
margin-right: 0;
`,
};
};