Commit 569c81d0 by Ivana Huckova Committed by GitHub

Explore: UI changes for derived fields (#20557)

parent 2484b24c
...@@ -124,7 +124,6 @@ export const DataLinkInput: React.FC<DataLinkInputProps> = memo( ...@@ -124,7 +124,6 @@ export const DataLinkInput: React.FC<DataLinkInputProps> = memo(
'gf-form-input', 'gf-form-input',
css` css`
position: relative; position: relative;
height: auto;
` `
)} )}
> >
......
...@@ -6,6 +6,7 @@ import { DerivedFieldConfig } from '../types'; ...@@ -6,6 +6,7 @@ import { DerivedFieldConfig } from '../types';
const getStyles = stylesFactory(() => ({ const getStyles = stylesFactory(() => ({
firstRow: css` firstRow: css`
display: flex; display: flex;
align-items: baseline;
`, `,
nameField: css` nameField: css`
flex: 2; flex: 2;
...@@ -65,6 +66,9 @@ export const DerivedField = (props: Props) => { ...@@ -65,6 +66,9 @@ export const DerivedField = (props: Props) => {
event.preventDefault(); event.preventDefault();
onDelete(); onDelete();
}} }}
className={css`
margin-left: 8px;
`}
/> />
</div> </div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment