mirror of
https://github.com/speatzle/nfsense.git
synced 2025-05-10 18:38:22 +00:00
Increase element count before ellipsis to 10
This commit is contained in:
parent
b360bdf978
commit
1af5af41cc
1 changed files with 1 additions and 14 deletions
|
@ -8,10 +8,8 @@ const props = withDefaults(defineProps<{
|
|||
data: () => [],
|
||||
component: '',
|
||||
componentProp: '',
|
||||
ellipsis: 2,
|
||||
ellipsis: 10,
|
||||
});
|
||||
|
||||
|
||||
</script>
|
||||
<template>
|
||||
<div class="pillbar">
|
||||
|
@ -22,14 +20,3 @@ const props = withDefaults(defineProps<{
|
|||
<div v-if="props.data.length >= props.ellipsis" class="pill">...</div>
|
||||
</div>
|
||||
</template>
|
||||
<style scoped>
|
||||
.pillbar {
|
||||
flex-direction: row;
|
||||
flex-wrap: wrap;
|
||||
gap: 0.25rem;
|
||||
}
|
||||
.pill {
|
||||
border: 1px solid var(--cl-fg);
|
||||
padding: 0.25rem;
|
||||
}
|
||||
</style>
|
Loading…
Add table
Reference in a new issue