diff --git a/src/legacy/ui/public/vis/editors/default/_agg_params.scss b/src/legacy/ui/public/vis/editors/default/_agg_params.scss index df806727e51d05..29f2f4d0de7268 100644 --- a/src/legacy/ui/public/vis/editors/default/_agg_params.scss +++ b/src/legacy/ui/public/vis/editors/default/_agg_params.scss @@ -1,4 +1,5 @@ .visEditorAggParam--half { + margin-top: $euiSize; display: inline-block; width: calc(50% - #{$euiSizeS / 2}); } diff --git a/src/legacy/ui/public/vis/editors/default/controls/size.tsx b/src/legacy/ui/public/vis/editors/default/controls/size.tsx index 99d2e28c2d7405..121e5e9418021b 100644 --- a/src/legacy/ui/public/vis/editors/default/controls/size.tsx +++ b/src/legacy/ui/public/vis/editors/default/controls/size.tsx @@ -60,6 +60,7 @@ function SizeParamEditor({ value={isUndefined(value) ? '' : value} onChange={ev => setValue(ev.target.value === '' ? '' : parseFloat(ev.target.value))} fullWidth={true} + compressed isInvalid={showValidation ? !isValid : false} onBlur={setTouched} min={1}