aboutsummaryrefslogtreecommitdiff
path: root/front-end/src/views/Blog/components/ContentSearch.vue
diff options
context:
space:
mode:
Diffstat (limited to 'front-end/src/views/Blog/components/ContentSearch.vue')
-rw-r--r--front-end/src/views/Blog/components/ContentSearch.vue8
1 files changed, 6 insertions, 2 deletions
diff --git a/front-end/src/views/Blog/components/ContentSearch.vue b/front-end/src/views/Blog/components/ContentSearch.vue
index 03cb432..78cfa1a 100644
--- a/front-end/src/views/Blog/components/ContentSearch.vue
+++ b/front-end/src/views/Blog/components/ContentSearch.vue
@@ -79,8 +79,8 @@ const searchResults = computed<ContentResult[]>(() => {
return {
...content,
//truncate the id and name for display
- shortId: truncate(content.id, { length: 15 }),
- shortName: truncate(content.name, { length: 24 }),
+ shortId: truncate(content.id, { length: 18 }),
+ shortName: truncate(content.name, { length: 36 }),
copyLink: () => copyLink(content, copy),
copied
}
@@ -110,6 +110,10 @@ const onSelected = (result: ContentResult) => {
.controls{
@apply min-w-[4rem] text-center;
}
+
+ &.name{
+ @apply text-sm;
+ }
}
</style> \ No newline at end of file