diff --git a/ui/app/styles/core/control.scss b/ui/app/styles/core/control.scss index d031a3957f..b4d3ff0176 100644 --- a/ui/app/styles/core/control.scss +++ b/ui/app/styles/core/control.scss @@ -51,14 +51,15 @@ padding-right: 10em; } } +} - &.is-align-end { - display: flex; - align-self: end; +.control { + &.is-expanded { + flex-grow: 1; + flex-shrink: 1; + } + &.is-narrow { + flex: none; + width: 6%; } } - -.control.is-expanded { - flex-grow: 1; - flex-shrink: 1; -} diff --git a/ui/app/styles/core/element-styling.scss b/ui/app/styles/core/element-styling.scss index d25787373f..383d3e2a7c 100644 --- a/ui/app/styles/core/element-styling.scss +++ b/ui/app/styles/core/element-styling.scss @@ -194,3 +194,8 @@ label { cursor: not-allowed; } } + +// TODO remove when HDS has released fix +.hds-form-masked-input .hds-form-masked-input__toggle-button { + margin-right: $spacing-12; +} diff --git a/ui/lib/core/addon/components/form-field.hbs b/ui/lib/core/addon/components/form-field.hbs index 206038f640..6932e445d6 100644 --- a/ui/lib/core/addon/components/form-field.hbs +++ b/ui/lib/core/addon/components/form-field.hbs @@ -239,16 +239,14 @@ @example={{@attr.options.example}} > {{#if @attr.options.allowReset}} - + /> {{/if}} {{/let}} diff --git a/ui/lib/core/addon/components/json-editor.hbs b/ui/lib/core/addon/components/json-editor.hbs index 83cddee653..b7b15e3b72 100644 --- a/ui/lib/core/addon/components/json-editor.hbs +++ b/ui/lib/core/addon/components/json-editor.hbs @@ -16,16 +16,14 @@ {{yield}} {{#if @example}} - + /> {{/if}}
{{/if}} -
+
{{#if (eq this.kvData.length (inc index))}} - + {{else}} - + /> {{/if}}
diff --git a/ui/lib/core/addon/components/masked-input.hbs b/ui/lib/core/addon/components/masked-input.hbs index 188cb5fc8f..221e6b0fbb 100644 --- a/ui/lib/core/addon/components/masked-input.hbs +++ b/ui/lib/core/addon/components/masked-input.hbs @@ -54,16 +54,15 @@ {{on "click" (fn (mut this.modalOpen) true)}} /> {{/if}} - + {{on "click" this.toggleMask}} + /> {{! CONFIRM DOWNLOAD MODAL }} diff --git a/ui/lib/core/addon/components/object-list-input.hbs b/ui/lib/core/addon/components/object-list-input.hbs index 8885cbf19c..1b0a838e80 100644 --- a/ui/lib/core/addon/components/object-list-input.hbs +++ b/ui/lib/core/addon/components/object-list-input.hbs @@ -6,10 +6,10 @@ {{yield}} {{#each this.inputList as |row index|}} {{#let (get @validationErrors index) as |rowValidations|}} -
+
{{#each-in row as |inputKey value|}} {{#let (find-by "key" inputKey @objectKeys) as |field|}} -
+
{{#if (eq index 0)}}

{{field.label}}

{{/if}} @@ -26,37 +26,38 @@ {{on "input" (fn this.handleInput index)}} /> {{#if (and (not inputError.isValid) inputError.errors)}} - + + + {{inputError.errors}} + + {{/if}} {{/let}}
{{/let}} {{/each-in}} -
+
{{#if (eq index 0)}}
{{/if}} {{#if (eq (inc index) this.inputList.length)}} - + @isFullWidth={{true}} + /> {{else}} - + data-test-object-list-delete-button={{index}} + /> {{/if}}
diff --git a/ui/lib/core/addon/components/search-select-with-modal.hbs b/ui/lib/core/addon/components/search-select-with-modal.hbs index f42fb258d1..2e1f7eed84 100644 --- a/ui/lib/core/addon/components/search-select-with-modal.hbs +++ b/ui/lib/core/addon/components/search-select-with-modal.hbs @@ -71,14 +71,14 @@
{{/if}}
- + />
{{/each}} diff --git a/ui/lib/core/addon/components/search-select.hbs b/ui/lib/core/addon/components/search-select.hbs index de8799c354..f6ba3a4fb2 100644 --- a/ui/lib/core/addon/components/search-select.hbs +++ b/ui/lib/core/addon/components/search-select.hbs @@ -88,14 +88,14 @@ {{selected.addTooltip}} {{/if}} - + />
{{/each}} diff --git a/ui/lib/core/addon/components/string-list.hbs b/ui/lib/core/addon/components/string-list.hbs index 8daedb6407..3c654eecd2 100644 --- a/ui/lib/core/addon/components/string-list.hbs +++ b/ui/lib/core/addon/components/string-list.hbs @@ -37,25 +37,19 @@ {{on "change" (action "inputChanged" index)}} />
-
+
{{#if (eq (inc index) this.inputList.length)}} - + {{else}} - + /> {{/if}}
{{#if (includes index this.indicesWithComma)}} diff --git a/ui/lib/core/addon/components/text-file.hbs b/ui/lib/core/addon/components/text-file.hbs index a2357b46ac..e3fd0ec468 100644 --- a/ui/lib/core/addon/components/text-file.hbs +++ b/ui/lib/core/addon/components/text-file.hbs @@ -18,75 +18,41 @@
-
- - -
+ +
{{/unless}}
{{#if this.showTextArea}} -
-