Transformations: Make transform dropdowns not cropped (#24615)

This commit is contained in:
Dominik Prokop
2020-05-13 13:01:10 +02:00
committed by GitHub
parent ab12c908d8
commit 9e24c0944f
6 changed files with 34 additions and 10 deletions

View File

@@ -65,14 +65,21 @@ export class TransformationsEditor extends React.PureComponent<Props> {
});
return (
<ValuePicker
size="md"
variant="secondary"
label="Add transformation"
options={availableTransformers}
onChange={this.onTransformationAdd}
isFullWidth={false}
/>
<div
className={css`
max-width: 66%;
`}
>
<ValuePicker
size="md"
variant="secondary"
label="Add transformation"
options={availableTransformers}
onChange={this.onTransformationAdd}
isFullWidth={false}
menuPlacement="bottom"
/>
</div>
);
};