Skip to content

Commit 40f4a5b

Browse files
committed
search bar dc left added
1 parent 40ab31a commit 40f4a5b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/Common/SearchBar/SearchBar.component.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,6 @@ const SearchBar = ({
6868
dataTestId = 'search-bar',
6969
noBackgroundAndBorder = false,
7070
size = ComponentSizeType.medium,
71-
inputClassName = '',
7271
}: SearchBarProps) => {
7372
const [showClearButton, setShowClearButton] = useState(!!initialSearchText)
7473
const inputRef = useRef<HTMLInputElement>()
@@ -139,7 +138,7 @@ const SearchBar = ({
139138
defaultValue={initialSearchText}
140139
className={`search-bar__input dc__position-abs w-100 h-100 br-4 dc__no-border pt-6 pr-10 pb-6 pl-30 fs-13 lh-20 fw-4 cn-9 placeholder-cn5 ${
141140
showClearButton ? 'pr-30' : 'pr-10'
142-
} ${noBackgroundAndBorder ? 'dc__no-background' : 'bc-n50'} ${inputClassName}`}
141+
} ${noBackgroundAndBorder ? 'dc__no-background' : 'bc-n50'} dc__left-0`}
143142
onChange={handleChange}
144143
onKeyDown={handleKeyDown}
145144
ref={inputCallbackRef}

0 commit comments

Comments
 (0)