Remove extra margin for checkboxes (#35169)

This commit is contained in:
Alex Khomenko
2021-06-04 13:10:57 +02:00
committed by GitHub
parent bbfafa7908
commit bfcc6a2248
@@ -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;
`,
};
};