Search: update item padding (#32701)

This commit is contained in:
Alex Khomenko
2021-04-06 10:11:43 +03:00
committed by GitHub
parent 3f97b9972b
commit f1bc4078c8

View File

@@ -78,8 +78,11 @@ export const SearchItem: FC<Props> = ({ item, editable, onToggleChecked, onTagSe
const getStyles = (theme: GrafanaTheme) => { const getStyles = (theme: GrafanaTheme) => {
return { return {
container: css` container: css`
padding: ${theme.spacing.sm} ${theme.spacing.md};
margin-bottom: ${SEARCH_ITEM_MARGIN}px; margin-bottom: ${SEARCH_ITEM_MARGIN}px;
a {
padding: ${theme.spacing.sm} ${theme.spacing.md};
}
`, `,
metaContainer: css` metaContainer: css`
display: flex; display: flex;