mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Remove extra margin for checkboxes (#35169)
This commit is contained in:
parent
bbfafa7908
commit
bfcc6a2248
@ -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;
|
||||||
|
`,
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user