mirror of
https://github.com/facebook/docusaurus.git
synced 2025-06-03 03:12:35 +02:00
fix(website): fix showcase search input (#9260)
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
This commit is contained in:
parent
bd8616a23f
commit
dc7ae426ac
1 changed files with 7 additions and 8 deletions
|
@ -259,7 +259,6 @@ function ShowcaseCards() {
|
|||
<Heading as="h2">
|
||||
<Translate id="showcase.usersList.noResult">No result</Translate>
|
||||
</Heading>
|
||||
<SearchBar />
|
||||
</div>
|
||||
</section>
|
||||
);
|
||||
|
@ -282,7 +281,6 @@ function ShowcaseCards() {
|
|||
</Translate>
|
||||
</Heading>
|
||||
<FavoriteIcon svgClass={styles.svgIconFavorite} />
|
||||
<SearchBar />
|
||||
</div>
|
||||
<ul
|
||||
className={clsx(
|
||||
|
@ -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} />
|
||||
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue