diff --git a/graph/ui-project-details/src/lib/project-details/project-details.tsx b/graph/ui-project-details/src/lib/project-details/project-details.tsx index 77921e786afff..026c984d4c94d 100644 --- a/graph/ui-project-details/src/lib/project-details/project-details.tsx +++ b/graph/ui-project-details/src/lib/project-details/project-details.tsx @@ -106,16 +106,16 @@ export const ProjectDetails = ({

) : null} {projectData.tags && projectData.tags.length ? ( - + ) : null} {projectData.root ? ( -

+

Root: {projectData.root.trim()}

) : null} {projectData.projectType ?? typeToProjectType[project.type] ? ( -

+

Type: {projectData.projectType ?? typeToProjectType[project.type]} diff --git a/graph/ui-project-details/src/lib/tag-list/tag-list.tsx b/graph/ui-project-details/src/lib/tag-list/tag-list.tsx index 6195181425e5d..5e993e153fb94 100644 --- a/graph/ui-project-details/src/lib/tag-list/tag-list.tsx +++ b/graph/ui-project-details/src/lib/tag-list/tag-list.tsx @@ -1,11 +1,13 @@ import React, { useState, useRef, useEffect } from 'react'; import { Pill } from '../pill'; +import { twMerge } from 'tailwind-merge'; interface TagListProps { tags: string[]; + className: string; } -export function TagList({ tags }: TagListProps) { +export function TagList({ tags, className }: TagListProps) { const [isExpanded, _setIsExpanded] = useState(false); const [isOverflowing, setIsOverflowing] = useState(false); const tagsContainerRef = useRef(null); @@ -34,7 +36,7 @@ export function TagList({ tags }: TagListProps) { }, [tagsContainerRef]); return ( -

+

Tags: