diff --git a/packages/view/src/components/FilteredAuthors/FilteredAuthors.scss b/packages/view/src/components/FilteredAuthors/FilteredAuthors.scss index 4dabe4a3..53d4b689 100644 --- a/packages/view/src/components/FilteredAuthors/FilteredAuthors.scss +++ b/packages/view/src/components/FilteredAuthors/FilteredAuthors.scss @@ -1,7 +1,12 @@ .selected-container { display: flex; - flex-wrap: wrap; + align-items: center; + gap: 15px; width: 100%; - padding: 6px; +} + +.selected-content { + display: flex; + flex-wrap: wrap; box-sizing: border-box; } diff --git a/packages/view/src/components/FilteredAuthors/FilteredAuthors.tsx b/packages/view/src/components/FilteredAuthors/FilteredAuthors.tsx index f0b0ea7c..38c0763b 100644 --- a/packages/view/src/components/FilteredAuthors/FilteredAuthors.tsx +++ b/packages/view/src/components/FilteredAuthors/FilteredAuthors.tsx @@ -12,18 +12,21 @@ const FilteredAuthors = () => { return (
- {authSrcMap && - selectedClusters.map((selectedCluster) => { - return selectedCluster.summary.authorNames.map((authorArray: string[]) => { - return authorArray.map((authorName: string) => ( - - )); - }); - })} + {selectedClusters.length > 0 &&

Authors:

} +
+ {authSrcMap && + selectedClusters.map((selectedCluster) => { + return selectedCluster.summary.authorNames.map((authorArray: string[]) => { + return authorArray.map((authorName: string) => ( + + )); + }); + })} +
); };