diff --git a/ui/app/styles/components/toolbar.scss b/ui/app/styles/components/toolbar.scss index 19dbd3eba2..7a5a5a7f41 100644 --- a/ui/app/styles/components/toolbar.scss +++ b/ui/app/styles/components/toolbar.scss @@ -41,7 +41,6 @@ display: flex; height: 3rem; justify-content: space-between; - overflow-x: auto; width: 100%; @include from($mobile) { diff --git a/ui/lib/core/addon/components/copy-secret-dropdown.hbs b/ui/lib/core/addon/components/copy-secret-dropdown.hbs index af83f660f4..63bd2377dd 100644 --- a/ui/lib/core/addon/components/copy-secret-dropdown.hbs +++ b/ui/lib/core/addon/components/copy-secret-dropdown.hbs @@ -4,7 +4,14 @@ ~}} {{! @onWrap is recommend to be a concurrency task! see in KV addon for example }} - + Copy diff --git a/ui/lib/core/addon/components/search-select.hbs b/ui/lib/core/addon/components/search-select.hbs index e21441aa8b..1d4680c0c6 100644 --- a/ui/lib/core/addon/components/search-select.hbs +++ b/ui/lib/core/addon/components/search-select.hbs @@ -46,6 +46,7 @@ @renderInPlace={{@renderInPlace}} @verticalPosition="below" @disabled={{@disabled}} + @ariaLabel={{or @ariaLabel @label (humanize @id)}} as |option| > {{#if this.shouldRenderName}} diff --git a/ui/lib/core/addon/components/search-select.js b/ui/lib/core/addon/components/search-select.js index adb05d1b25..4ee014b206 100644 --- a/ui/lib/core/addon/components/search-select.js +++ b/ui/lib/core/addon/components/search-select.js @@ -49,6 +49,7 @@ import { addToArray } from 'vault/helpers/add-to-array'; * @param {string} id - The name of the form field * @param {string} [label] - Label for this form field * @param {string} [labelClass] - overwrite default label size (14px) from class="is-label" + * @param {string} [ariaLabel] - fallback accessible label if label is not provided * @param {string} [subText] - Text to be displayed below the label * @param {string} fallbackComponent - name of component to be rendered if the API call 403s * @param {string} [helpText] - Text to be displayed in the info tooltip for this form field @@ -142,7 +143,7 @@ export default class SearchSelect extends Component { } if (!this.args.models) { - if (this.args.options) { + if (Array.isArray(this.args.options)) { const { options } = this.args; // if options are nested, let parent handle formatting - see path-filter-config-list.js this.dropdownOptions = options.some((e) => Object.keys(e).includes('groupName')) diff --git a/ui/lib/kubernetes/addon/components/page/overview.hbs b/ui/lib/kubernetes/addon/components/page/overview.hbs index 0fb2bb0ad2..3e8b87d3e1 100644 --- a/ui/lib/kubernetes/addon/components/page/overview.hbs +++ b/ui/lib/kubernetes/addon/components/page/overview.hbs @@ -32,6 +32,7 @@ @selectLimit="1" @fallbackComponent="input-search" @onChange={{this.selectRole}} + @renderInPlace={{true}} /> + Version {{or @displayVersion "current"}} diff --git a/ui/lib/ldap/addon/components/page/overview.hbs b/ui/lib/ldap/addon/components/page/overview.hbs index 50b6fc714b..5a4adb931e 100644 --- a/ui/lib/ldap/addon/components/page/overview.hbs +++ b/ui/lib/ldap/addon/components/page/overview.hbs @@ -57,15 +57,18 @@ @selectLimit="1" @fallbackComponent="input-search" @onChange={{this.selectRole}} + @renderInPlace={{true}} /> - +
+ +
diff --git a/ui/lib/pki/addon/components/page/pki-issuer-details.hbs b/ui/lib/pki/addon/components/page/pki-issuer-details.hbs index b5aa62a335..48efd0d922 100644 --- a/ui/lib/pki/addon/components/page/pki-issuer-details.hbs +++ b/ui/lib/pki/addon/components/page/pki-issuer-details.hbs @@ -35,15 +35,21 @@ Sign Intermediate {{/if}} - + Download - +