Skip to content

Commit c45e68a

Browse files
authored
Fix highlight CSS in autocomplete dropdowns (#1390)
Summary: Restore the bold highlight of matched terms in breadcrumbs. <img width="629" alt="image" src="https://github.com/pixie-io/pixie/assets/314133/bc9fe9a4-515e-491d-b3f2-2523b42893f8"> Type of change: /kind bugfix Test Plan: Use the breadcrumbs. Search for something. Highlight should be restored. Signed-off-by: Nick Lanam <nlanam@pixielabs.ai>
1 parent 11536bf commit c45e68a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/ui/src/components/autocomplete/completions.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ const useStyles = makeStyles((theme: Theme) => createStyles({
9797
'& > span': {
9898
...theme.typography.body1,
9999
fontFamily: theme.typography.monospace.fontFamily,
100+
'&$highlight': { fontWeight: 600 },
100101
},
101102
'&.active': {
102103
color: theme.palette.text.primary,

0 commit comments

Comments
 (0)