From c8373c49e3d5068676171adae238e8853f7eaaae Mon Sep 17 00:00:00 2001 From: Rajesh Narayanappa - r0n00in Date: Sat, 25 Feb 2023 23:44:03 +0530 Subject: [PATCH 1/2] Fix for non-clickable area on Search result --- src/components/CommonComponents/SearchBar/index.module.scss | 6 ++++++ src/components/CommonComponents/SearchBar/index.tsx | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/src/components/CommonComponents/SearchBar/index.module.scss b/src/components/CommonComponents/SearchBar/index.module.scss index 42d72c1928..434b489b8f 100644 --- a/src/components/CommonComponents/SearchBar/index.module.scss +++ b/src/components/CommonComponents/SearchBar/index.module.scss @@ -87,7 +87,13 @@ margin: 0; padding: 5px 0; + &:hover { + background-color: var(--black2); + font-weight: bold; + } + > a { + display: block; text-decoration: none; text-overflow: ellipsis; diff --git a/src/components/CommonComponents/SearchBar/index.tsx b/src/components/CommonComponents/SearchBar/index.tsx index 89a70da37d..0c9b9d4954 100644 --- a/src/components/CommonComponents/SearchBar/index.tsx +++ b/src/components/CommonComponents/SearchBar/index.tsx @@ -235,8 +235,8 @@ const SearchBar = (): JSX.Element => { {(result.wrapInCode && {displayTitle}) || ( {displayTitle} )} + - ); })} From caa32ad6229abc6bac938a9f7581e4d8b0cc5c84 Mon Sep 17 00:00:00 2001 From: Rajesh Narayanappa - r0n00in Date: Mon, 27 Feb 2023 10:16:03 +0530 Subject: [PATCH 2/2] removed background color on hover --- src/components/CommonComponents/SearchBar/index.module.scss | 1 - 1 file changed, 1 deletion(-) diff --git a/src/components/CommonComponents/SearchBar/index.module.scss b/src/components/CommonComponents/SearchBar/index.module.scss index 434b489b8f..3e68e54842 100644 --- a/src/components/CommonComponents/SearchBar/index.module.scss +++ b/src/components/CommonComponents/SearchBar/index.module.scss @@ -88,7 +88,6 @@ padding: 5px 0; &:hover { - background-color: var(--black2); font-weight: bold; }