Commit a65218b7 authored by Daniel Tian's avatar Daniel Tian

Fix vulnerability report filter dropdown button text truncation

Changelog: fixed
MR: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/65634
EE: true
parent 8d0b8bf9
......@@ -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