Skip to content

Commit

Permalink
docs: fix page name
Browse files Browse the repository at this point in the history
  • Loading branch information
theo-mesnil committed Jul 27, 2023
1 parent 3a26c94 commit f1a0509
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 5 deletions.
2 changes: 2 additions & 0 deletions docs/components/GlobalStyle.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ export const GlobalStyle = createGlobalStyle`
}
.DocSearch {
transition: none !important;
&-Button {
margin: 0;
width: 100%;
Expand Down
2 changes: 1 addition & 1 deletion docs/components/Mdx/Showcase/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export function Showcase({
<Box backgroundColor="nude-100" maxW="100% !important">
<Box m="0 auto" maxW={970} px={{ md: 'md' }} py={{ xs: 'xxl', md: '4xl' }}>
<H1 mb="0" pb="sm" pt="0">
{pageName || component}
{component?.split(',')?.[0]}
</H1>
{description && <Text variant="body1">{description}</Text>}
<Box mt="4xl">
Expand Down
1 change: 0 additions & 1 deletion docs/pages/components/dropdown-menu.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import {

<showcase
version={version}
pageName="DropdownMenu"
name={name}
component={component}
description="Allows user to select between multiple actions."
Expand Down
1 change: 0 additions & 1 deletion docs/pages/components/popover.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import {

<showcase
version={version}
pageName="Popover"
name={name}
component={component}
description="Allows user to show more information on hover or click an element."
Expand Down
1 change: 0 additions & 1 deletion docs/pages/components/tabs.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import {

<showcase
version={version}
pageName="Tabs"
name={name}
component={component}
description="Allows user to make it easy explore and switch between different views."
Expand Down
1 change: 0 additions & 1 deletion docs/pages/components/toast.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import {

<showcase
version={version}
pageName="Toast"
name={name}
component={component}
description="Allows user to provide brief notifications."
Expand Down

0 comments on commit f1a0509

Please sign in to comment.