Mao 4 лет назад
Родитель
Сommit
44333c0dee

+ 1 - 1
packages/app/src/components/SearchPage/SearchControl.tsx

@@ -47,7 +47,7 @@ const SearchControl: FC <Props> = (props: Props) => {
   };
 
   return (
-    <div className="search-control-section">
+    <div className="search-control-section bg-white position-sticky fixed-top">
       <div className="search-page-nav d-flex py-3 align-items-center">
         <div className="flex-grow-1 mx-4">
           <SearchPageFormTypeAny

+ 0 - 6
packages/app/src/styles/_search.scss

@@ -1,9 +1,3 @@
-.search-control-section {
-  position: sticky;
-  top: 0;
-  z-index: 999;
-}
-
 .search-page-nav {
   background-color: #f7f7f7;
 }