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 { ...@@ -74,14 +74,16 @@ export default {
@hide="$emit('dropdown-hide')" @hide="$emit('dropdown-hide')"
> >
<template #button-text> <template #button-text>
<gl-truncate <div class="gl-display-flex">
:text="firstSelectedOption" <gl-truncate
class="gl-min-w-0 gl-mr-2" :text="firstSelectedOption"
:data-qa-selector="qaSelector" class="gl-min-w-0"
/> :data-qa-selector="qaSelector"
<span v-if="extraOptionCount" class="gl-mr-2"> />
{{ n__('+%d more', '+%d more', extraOptionCount) }} <span v-if="extraOptionCount" class="gl-ml-2">
</span> {{ n__('+%d more', '+%d more', extraOptionCount) }}
</span>
</div>
</template> </template>
<template v-if="showSearchBox" #header> <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