Cloudwatch Variable Editor: Adjust width in new form styling (#80387)

pull/80430/head
Ida Štambuk 1 year ago committed by GitHub
parent 7dc6a047f7
commit dfc251d5b9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      public/app/plugins/datasource/cloudwatch/components/VariableQueryEditor/VariableQueryEditor.tsx

@ -114,7 +114,7 @@ export const VariableQueryEditor = ({ query, datasource, onChange }: Props) => {
VariableQueryType.DimensionValues, VariableQueryType.DimensionValues,
].includes(parsedQuery.queryType); ].includes(parsedQuery.queryType);
return ( return (
<> <div className={newFormStylingEnabled ? 'width-15' : ''}>
<VariableQueryField <VariableQueryField
value={parsedQuery.queryType} value={parsedQuery.queryType}
options={queryTypes} options={queryTypes}
@ -333,6 +333,6 @@ export const VariableQueryEditor = ({ query, datasource, onChange }: Props) => {
newFormStylingEnabled={newFormStylingEnabled} newFormStylingEnabled={newFormStylingEnabled}
/> />
)} )}
</> </div>
); );
}; };

Loading…
Cancel
Save