reiji-h 2 лет назад
Родитель
Сommit
645ba85cf3
1 измененных файлов с 1 добавлено и 3 удалено
  1. 1 3
      apps/app/src/features/search/client/components/SearchForm.tsx

+ 1 - 3
apps/app/src/features/search/client/components/SearchForm.tsx

@@ -4,8 +4,6 @@ import React, {
 
 import type { GetInputProps } from '../interfaces/downshift';
 
-import styles from './SearchForm.module.scss';
-
 type Props = {
   searchKeyword: string,
   onChange?: (text: string) => void,
@@ -61,7 +59,7 @@ export const SearchForm = (props: Props): JSX.Element => {
       <input {...inputOptions} />
       <button
         type="button"
-        className="btn btn-neutral-secondary text-muted position-absolute top-0 end-0 h-100 border-0 lh-1"
+        className="btn btn-neutral-secondary text-muted position-absolute bottom-0 end-0 w-auto h-100 border-0"
         onClick={() => { onChange?.('') }}
       >
         <span className="material-symbols-outlined p-0">cancel</span>