From d72e317896bcc2a675d21cec6f286e0b2730d77c Mon Sep 17 00:00:00 2001 From: Zero~Informatique Date: Thu, 10 Sep 2020 19:58:41 +0200 Subject: viewer: limit + show more tags github: resolves #184 --- viewer/src/@types/gallery.d.ts | 1 + viewer/src/components/LdProposition.vue | 40 +++++++++++++++++++++++++++++---- viewer/src/locales/en.json | 3 ++- viewer/src/plugins/fontawesome-icons.ts | 1 + 4 files changed, 40 insertions(+), 5 deletions(-) (limited to 'viewer/src') diff --git a/viewer/src/@types/gallery.d.ts b/viewer/src/@types/gallery.d.ts index 1342ff9..56feff0 100644 --- a/viewer/src/@types/gallery.d.ts +++ b/viewer/src/@types/gallery.d.ts @@ -20,6 +20,7 @@ declare namespace Gallery { interface Config { galleryRoot: string; + initialTagDisplayLimit: number; } interface GalleryProperties { diff --git a/viewer/src/components/LdProposition.vue b/viewer/src/components/LdProposition.vue index 97f47da..e19e01a 100644 --- a/viewer/src/components/LdProposition.vue +++ b/viewer/src/components/LdProposition.vue @@ -47,11 +47,14 @@