Cloudwatch: Wrap filters and tag inputs in Variable Editor (#69862)

Add shrink to ec2 filters + resource tags
This commit is contained in:
Ida Štambuk
2023-06-16 13:44:22 +02:00
committed by GitHub
parent 7952907e48
commit 2d4db2fd64

View File

@@ -217,6 +217,7 @@ export const VariableQueryEditor = ({ query, datasource, onChange }: Props) => {
<InlineField
label="Filters"
labelWidth={20}
shrink
tooltip={
<>
<a
@@ -247,7 +248,7 @@ export const VariableQueryEditor = ({ query, datasource, onChange }: Props) => {
onBlur={(value: string) => onQueryChange({ ...parsedQuery, resourceType: value })}
label="Resource type"
/>
<InlineField label="Tags" labelWidth={20} tooltip="Tags to filter the returned values on.">
<InlineField label="Tags" shrink labelWidth={20} tooltip="Tags to filter the returned values on.">
<MultiFilter
filters={parsedQuery.tags}
onChange={(filters) => {