diff --git a/packages/grafana-ui/src/components/DataLinks/DataLinkInput.tsx b/packages/grafana-ui/src/components/DataLinks/DataLinkInput.tsx index c2903e5b307..43dc565cd51 100644 --- a/packages/grafana-ui/src/components/DataLinks/DataLinkInput.tsx +++ b/packages/grafana-ui/src/components/DataLinks/DataLinkInput.tsx @@ -9,7 +9,7 @@ import { Editor } from '@grafana/slate-react'; import { Value } from 'slate'; import Plain from 'slate-plain-serializer'; import { Popper as ReactPopper } from 'react-popper'; -import { css, cx } from 'emotion'; +import { css } from 'emotion'; import { SlatePrism } from '../../slate-plugins'; import { SCHEMA } from '../../utils/slate'; @@ -119,15 +119,7 @@ export const DataLinkInput: React.FC = memo( }; return ( -
+
{showingSuggestions && ( diff --git a/packages/grafana-ui/src/components/SecretFormField/SecretFormField.tsx b/packages/grafana-ui/src/components/SecretFormField/SecretFormField.tsx index 88e71d61b19..f6cb3307eea 100644 --- a/packages/grafana-ui/src/components/SecretFormField/SecretFormField.tsx +++ b/packages/grafana-ui/src/components/SecretFormField/SecretFormField.tsx @@ -1,6 +1,7 @@ import omit from 'lodash/omit'; import React, { InputHTMLAttributes, FunctionComponent } from 'react'; import { FormField } from '../FormField/FormField'; +import { Button } from '../Button/Button'; import { css, cx } from 'emotion'; interface Props extends Omit, 'onReset'> { @@ -61,13 +62,9 @@ export const SecretFormField: FunctionComponent = ({ value="configured" {...omit(inputProps, 'value')} /> - + ) : ( { addButtonStyle: css` margin-left: 8px; - margin-top: 2px; `, })); @@ -106,7 +105,7 @@ export class TagsInput extends PureComponent { )} > -