Skip to content

Commit

Permalink
fix(website): fix showcase search input (#9260)
Browse files Browse the repository at this point in the history
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
  • Loading branch information
biplavmz and slorber committed Sep 14, 2023
1 parent bd8616a commit dc7ae42
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions website/src/pages/showcase/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,6 @@ function ShowcaseCards() {
<Heading as="h2">
<Translate id="showcase.usersList.noResult">No result</Translate>
</Heading>
<SearchBar />
</div>
</section>
);
Expand All @@ -282,7 +281,6 @@ function ShowcaseCards() {
</Translate>
</Heading>
<FavoriteIcon svgClass={styles.svgIconFavorite} />
<SearchBar />
</div>
<ul
className={clsx(
Expand Down Expand Up @@ -310,12 +308,8 @@ function ShowcaseCards() {
) : (
<div className="container">
<div
className={clsx(
'margin-bottom--md',
styles.showcaseFavoriteHeader,
)}>
<SearchBar />
</div>
className={clsx('margin-bottom--md', styles.showcaseFavoriteHeader)}
/>
<ul className={clsx('clean-list', styles.showcaseList)}>
{filteredUsers.map((user) => (
<ShowcaseCard key={user.title} user={user} />
Expand All @@ -333,6 +327,11 @@ export default function Showcase(): JSX.Element {
<main className="margin-vert--lg">
<ShowcaseHeader />
<ShowcaseFilters />
<div
style={{display: 'flex', marginLeft: 'auto'}}
className="container">
<SearchBar />
</div>
<ShowcaseCards />
</main>
</Layout>
Expand Down

0 comments on commit dc7ae42

Please sign in to comment.