Merge pull request #16776 from scsinha/ssinha/fix-search-result-item-font

Fix font size and color in search result item
This commit is contained in:
Morgan Bentell
2023-03-16 16:38:39 +01:00
committed by GitHub
3 changed files with 10 additions and 0 deletions
+6
View File
@@ -0,0 +1,6 @@
---
'@backstage/plugin-search-react': patch
'@backstage/plugin-techdocs': patch
---
Fixes a UI bug in search result item which rendered the item text with incorrect font size and color
@@ -81,6 +81,8 @@ export const DefaultResultListItemComponent = ({
WebkitLineClamp: lineClamp,
overflow: 'hidden',
}}
color="textSecondary"
variant="body2"
>
{highlight?.fields.text ? (
<HighlightedSearchResultText
@@ -132,6 +132,8 @@ export const TechDocsSearchResultListItem = (
WebkitLineClamp: lineClamp,
overflow: 'hidden',
}}
color="textSecondary"
variant="body2"
>
{highlight?.fields.text ? (
<HighlightedSearchResultText