Skip to content

Commit

Permalink
Remove logo searchbar (#376)
Browse files Browse the repository at this point in the history
removed logo from search bar and increased height of search field

J=BACK-2305

T=manual

Ran test site locally and also checked with UX team
  • Loading branch information
saahithjanapati committed Jun 8, 2023
1 parent 98f98e4 commit 84306bf
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/components/SearchBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ import { VerticalDividerIcon } from '../icons/VerticalDividerIcon';
import { HistoryIcon as RecentSearchIcon } from '../icons/HistoryIcon';
import { CloseIcon } from '../icons/CloseIcon';
import { MagnifyingGlassIcon } from '../icons/MagnifyingGlassIcon';
import { YextIcon } from '../icons/YextIcon';
import { Dropdown } from './Dropdown/Dropdown';
import { useDropdownContext } from './Dropdown/DropdownContext';
import { DropdownInput } from './Dropdown/DropdownInput';
Expand All @@ -42,7 +41,7 @@ import { recursivelyMapChildren } from './utils/recursivelyMapChildren';
const builtInCssClasses: Readonly<SearchBarCssClasses> = {
searchBarContainer: 'h-12 mb-6',
inputDivider: 'border-t border-gray-200 mx-2.5',
inputElement: 'outline-none flex-grow border-none h-full pl-0.5 pr-2 text-neutral-dark text-base placeholder:text-neutral-light',
inputElement: 'outline-none flex-grow border-none h-11 pl-5 pr-2 text-neutral-dark text-base placeholder:text-neutral-light',
searchButtonContainer: ' w-8 h-full mx-2 flex flex-col justify-center items-center',
searchButton: 'h-7 w-7',
focusedOption: 'bg-gray-100',
Expand Down Expand Up @@ -406,9 +405,6 @@ export function SearchBar({
onToggle={handleToggleDropdown}
>
<div className='inline-flex items-center justify-between w-full'>
<div className='w-7 mx-2.5 my-2'>
<YextIcon />
</div>
{renderInput()}
{query && renderClearButton()}
<DropdownSearchButton
Expand Down

0 comments on commit 84306bf

Please sign in to comment.