bugfix(fe2): Coloring function disappears if parameter title is too long (#2255)
* Add truncation to filter name * Use shortened model name in scene explorer * Revert "Use shortened model name in scene explorer" This reverts commit b86e1d8577ba1009462f68fb45840b8b1f66ec1a. * Remove gap
This commit is contained in:
committed by
GitHub
parent
69decafb5d
commit
d9ac23fb26
@@ -3,18 +3,18 @@
|
||||
<template #title>Filtering</template>
|
||||
<template #actions>
|
||||
<div class="flex justify-between items-center w-full">
|
||||
<div class="-mt-1">
|
||||
<FormButton
|
||||
v-tippy="'Change Filter'"
|
||||
text
|
||||
size="xs"
|
||||
:icon-right="showAllFilters ? ChevronUpIcon : ChevronDownIcon"
|
||||
class="capitalize"
|
||||
@click="showAllFilters = !showAllFilters"
|
||||
>
|
||||
<FormButton
|
||||
v-tippy="'Change Filter'"
|
||||
text
|
||||
size="xs"
|
||||
:icon-right="showAllFilters ? ChevronUpIcon : ChevronDownIcon"
|
||||
class="capitalize"
|
||||
@click="showAllFilters = !showAllFilters"
|
||||
>
|
||||
<span class="max-w-20 md:max-w-36 truncate">
|
||||
{{ title.split('.').reverse()[0] || title || 'No Title' }}
|
||||
</FormButton>
|
||||
</div>
|
||||
</span>
|
||||
</FormButton>
|
||||
<div class="flex gap-1 divide-x divide-outline-3">
|
||||
<FormButton
|
||||
v-if="title !== 'Object Type'"
|
||||
|
||||
Reference in New Issue
Block a user