Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Commit 96d1609

Browse files
Rajesh-Narayanappa87Rajesh Narayanappa - r0n00in
andauthored
Fix for non-clickable area on Search result (#3217)
* Fix for non-clickable area on Search result * removed background color on hover --------- Co-authored-by: Rajesh Narayanappa - r0n00in <rajesh.narayanappa@walmart.com>
1 parent f6a5849 commit 96d1609

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

src/components/CommonComponents/SearchBar/index.module.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,12 @@
8787
margin: 0;
8888
padding: 5px 0;
8989

90+
&:hover {
91+
font-weight: bold;
92+
}
93+
9094
> a {
95+
display: block;
9196
text-decoration: none;
9297
text-overflow: ellipsis;
9398

src/components/CommonComponents/SearchBar/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,8 +235,8 @@ const SearchBar = (): JSX.Element => {
235235
{(result.wrapInCode && <code>{displayTitle}</code>) || (
236236
<span>{displayTitle}</span>
237237
)}
238+
<SectionTitle path={sectionPath} />
238239
</Link>
239-
<SectionTitle path={sectionPath} />
240240
</li>
241241
);
242242
})}

0 commit comments

Comments
 (0)