diff --git a/packages/app/package.json b/packages/app/package.json index d61717a..f1bc144 100644 --- a/packages/app/package.json +++ b/packages/app/package.json @@ -16,6 +16,9 @@ "dependencies": { "@app/plugin-expandable-toc": "0.0.0", "@app/plugin-toc-fix2": "0.0.0", + "@backstage-community/plugin-github-actions": "^0.6.16", + "@backstage-community/plugin-stack-overflow": "^0.1.30", + "@backstage-community/plugin-tech-radar": "^0.7.4", "@backstage/app-defaults": "^1.5.12", "@backstage/catalog-model": "^1.7.0", "@backstage/cli": "^0.28.2", @@ -34,6 +37,7 @@ "@backstage/plugin-permission-react": "^0.4.27", "@backstage/plugin-scaffolder": "^1.26.2", "@backstage/plugin-search": "^1.4.18", + "@backstage/plugin-search-common": "^1.2.15", "@backstage/plugin-search-react": "^1.8.1", "@backstage/plugin-techdocs": "^1.11.0", "@backstage/plugin-techdocs-module-addons-contrib": "^1.1.16", @@ -58,10 +62,7 @@ "react-router": "^6.3.0", "react-router-dom": "^6.3.0", "react-use": "^17.2.4", - "styled-components": "^6.0.0-rc.3", - "@backstage-community/plugin-github-actions": "^0.6.16", - "@backstage-community/plugin-stack-overflow": "^0.1.30", - "@backstage-community/plugin-tech-radar": "^0.7.4" + "styled-components": "^6.0.0-rc.3" }, "devDependencies": { "@backstage/test-utils": "^1.7.0", diff --git a/packages/app/src/components/search/GithubDiscussionsSearchResultListItem.tsx b/packages/app/src/components/search/GithubDiscussionsSearchResultListItem.tsx index c725cf3..5bda89b 100644 --- a/packages/app/src/components/search/GithubDiscussionsSearchResultListItem.tsx +++ b/packages/app/src/components/search/GithubDiscussionsSearchResultListItem.tsx @@ -62,7 +62,7 @@ export interface GithubDiscussionsSearchResultListItemProps { export function GithubDiscussionsSearchResultListItem( props: GithubDiscussionsSearchResultListItemProps, ) { - const { result, highlight, icon } = props; + const { result, highlight, icon, lineClamp } = props; const classes = useStyles(); if (!result) return null; @@ -92,7 +92,7 @@ export function GithubDiscussionsSearchResultListItem( style={{ display: '-webkit-box', WebkitBoxOrient: 'vertical', - WebkitLineClamp: props.lineClamp, + WebkitLineClamp: lineClamp, overflow: 'hidden', }} color="textSecondary"