Fix font size and color in search result item
Signed-off-by: Sudeep Sinha <ssinha@squarespace.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user