[ML] Fixes alignment of dedicated index checkbox (#28270)

* [ML] Aligning dedicated index checkbox

* fixing-overflowing-input
This commit is contained in:
James Gowdy 2019-01-09 11:25:16 +00:00 committed by GitHub
parent 1afe7c2667
commit 44143199c2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 2 deletions

View file

@ -20,6 +20,12 @@
label {
font-weight: $euiFontWeightRegular;
}
.dedicated-index-label {
margin-left: $euiSizeXS;
}
.model-memory-input-input {
width: 100%;
}
}
}

View file

@ -61,7 +61,7 @@
aria-describedby="ml_aria_description_new_job_dedicated_index"
class='kuiCheckBox'
ng-model ="formConfig.useDedicatedIndex" />
<span class='kuiCheckBoxLabel__text'>
<span class='kuiCheckBoxLabel__text dedicated-index-label'>
<span id="ml_aria_label_new_job_dedicated_index">Use dedicated index</span>
<i ml-info-icon="new_job_dedicated_index" ></i>
</span>
@ -80,7 +80,7 @@
aria-describedby="ml_aria_description_new_job_model_memory_limit"
type="text"
ng-model='formConfig.modelMemoryLimit'
class="kuiTextInput kuiTextInput--large" />
class="kuiTextInput kuiTextInput--large model-memory-input-input" />
<div ng-hide="ui.validation.checks.modelMemoryLimit.valid" class="validation-error">{{ ui.validation.checks.modelMemoryLimit.message }}</div>
</div>
</div>