Fix font size and color in search result item

Signed-off-by: Sudeep Sinha <ssinha@squarespace.com>
This commit is contained in:
Sudeep Sinha
2023-03-08 13:54:24 -05:00
parent 91cb791599
commit b2e182cdfa
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