From 3af08291533216a08b7e47465f0dfe1a83fa8c0b Mon Sep 17 00:00:00 2001 From: cchaos Date: Fri, 13 Sep 2019 17:38:09 -0400 Subject: [PATCH] =?UTF-8?q?Test=20found=20a=20missing=20spacer=E2=80=A6=20?= =?UTF-8?q?go=20test!?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/legacy/ui/public/vis/editors/default/_agg_params.scss | 1 + src/legacy/ui/public/vis/editors/default/controls/size.tsx | 1 + 2 files changed, 2 insertions(+) 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}