fix scrollbar under search - alt take (#1964)
Co-authored-by: Zane Staggs <zane@squareup.com>
This commit is contained in:
@@ -146,11 +146,7 @@ export const SearchView: React.FC<PropsWithChildren<SearchViewProps>> = ({
|
||||
searchResults={searchResults}
|
||||
/>
|
||||
)}
|
||||
<div
|
||||
className={`transition-transform ${isSearchVisible ? 'translate-y-[52px] pb-[52px]' : 'translate-y-0'}`}
|
||||
>
|
||||
{children}
|
||||
</div>
|
||||
{children}
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user