Commit 293c07bf authored by Simon Knox's avatar Simon Knox

Merge branch '284471-fix-dropdown-button-truncation' into 'master'

Fix vulnerability report filter dropdown button text truncation

See merge request gitlab-org/gitlab!65634
parents e809b6d9 a65218b7
......@@ -74,14 +74,16 @@ export default {
@hide="$emit('dropdown-hide')"
>
<template #button-text>
<gl-truncate
:text="firstSelectedOption"
class="gl-min-w-0 gl-mr-2"
:data-qa-selector="qaSelector"
/>
<span v-if="extraOptionCount" class="gl-mr-2">
{{ n__('+%d more', '+%d more', extraOptionCount) }}
</span>
<div class="gl-display-flex">
<gl-truncate
:text="firstSelectedOption"
class="gl-min-w-0"
:data-qa-selector="qaSelector"
/>
<span v-if="extraOptionCount" class="gl-ml-2">
{{ n__('+%d more', '+%d more', extraOptionCount) }}
</span>
</div>
</template>
<template v-if="showSearchBox" #header>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment