Cloudwatch: Wrap filters and tag inputs in Variable Editor (#69862)
Add shrink to ec2 filters + resource tags
This commit is contained in:
+2
-1
@@ -217,6 +217,7 @@ export const VariableQueryEditor = ({ query, datasource, onChange }: Props) => {
|
|||||||
<InlineField
|
<InlineField
|
||||||
label="Filters"
|
label="Filters"
|
||||||
labelWidth={20}
|
labelWidth={20}
|
||||||
|
shrink
|
||||||
tooltip={
|
tooltip={
|
||||||
<>
|
<>
|
||||||
<a
|
<a
|
||||||
@@ -247,7 +248,7 @@ export const VariableQueryEditor = ({ query, datasource, onChange }: Props) => {
|
|||||||
onBlur={(value: string) => onQueryChange({ ...parsedQuery, resourceType: value })}
|
onBlur={(value: string) => onQueryChange({ ...parsedQuery, resourceType: value })}
|
||||||
label="Resource type"
|
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
|
<MultiFilter
|
||||||
filters={parsedQuery.tags}
|
filters={parsedQuery.tags}
|
||||||
onChange={(filters) => {
|
onChange={(filters) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user