Skip to content

Commit dc7ae42

Browse files
biplavmzslorber
andauthored
fix(website): fix showcase search input (#9260)
Co-authored-by: sebastienlorber <[email protected]>
1 parent bd8616a commit dc7ae42

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

website/src/pages/showcase/index.tsx

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,6 @@ function ShowcaseCards() {
259259
<Heading as="h2">
260260
<Translate id="showcase.usersList.noResult">No result</Translate>
261261
</Heading>
262-
<SearchBar />
263262
</div>
264263
</section>
265264
);
@@ -282,7 +281,6 @@ function ShowcaseCards() {
282281
</Translate>
283282
</Heading>
284283
<FavoriteIcon svgClass={styles.svgIconFavorite} />
285-
<SearchBar />
286284
</div>
287285
<ul
288286
className={clsx(
@@ -310,12 +308,8 @@ function ShowcaseCards() {
310308
) : (
311309
<div className="container">
312310
<div
313-
className={clsx(
314-
'margin-bottom--md',
315-
styles.showcaseFavoriteHeader,
316-
)}>
317-
<SearchBar />
318-
</div>
311+
className={clsx('margin-bottom--md', styles.showcaseFavoriteHeader)}
312+
/>
319313
<ul className={clsx('clean-list', styles.showcaseList)}>
320314
{filteredUsers.map((user) => (
321315
<ShowcaseCard key={user.title} user={user} />
@@ -333,6 +327,11 @@ export default function Showcase(): JSX.Element {
333327
<main className="margin-vert--lg">
334328
<ShowcaseHeader />
335329
<ShowcaseFilters />
330+
<div
331+
style={{display: 'flex', marginLeft: 'auto'}}
332+
className="container">
333+
<SearchBar />
334+
</div>
336335
<ShowcaseCards />
337336
</main>
338337
</Layout>

0 commit comments

Comments
 (0)