Skip to content

Commit

Permalink
fix padding (again) and fix linting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
saahithjanapati committed Jun 8, 2023
1 parent c1a2399 commit e11bd7a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 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-11 pl-4 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 @@ -77,7 +76,6 @@ export interface SearchBarCssClasses extends AutocompleteResultCssClasses {
entityPreviewsDivider?: string
}


/**
* The type of a functional React component which renders entity previews using
* a map of vertical key to the corresponding VerticalResults data.
Expand Down

0 comments on commit e11bd7a

Please sign in to comment.