Explore: UI changes for derived fields (#20557)

This commit is contained in:
Ivana Huckova 2019-11-21 18:15:40 +01:00 committed by GitHub
parent 2484b24c75
commit 569c81d07e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View File

@ -124,7 +124,6 @@ export const DataLinkInput: React.FC<DataLinkInputProps> = memo(
'gf-form-input',
css`
position: relative;
height: auto;
`
)}
>

View File

@ -6,6 +6,7 @@ import { DerivedFieldConfig } from '../types';
const getStyles = stylesFactory(() => ({
firstRow: css`
display: flex;
align-items: baseline;
`,
nameField: css`
flex: 2;
@ -65,6 +66,9 @@ export const DerivedField = (props: Props) => {
event.preventDefault();
onDelete();
}}
className={css`
margin-left: 8px;
`}
/>
</div>