Skip to content

Commit

Permalink
docs: fix tabs layout of install page (#707)
Browse files Browse the repository at this point in the history
  • Loading branch information
unix authored Feb 2, 2022
1 parent 804df44 commit 18c6f7f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions pages/en-us/guide/installation.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Also, Geist is based on the component library of framework React, which means yo
<Tabs
initialValue="yarn"
hideDivider
align="right"
align="flex-end"
mt="-46px"
className="installation-tabs">
<Tabs.Item label="Yarn" value="yarn">
Expand Down Expand Up @@ -177,8 +177,8 @@ A classic use case is to add the following config to the `.babelrc`:

There are some differences in the way Tree Shaking is added to different scaffolds, you can refer to the following examples.

- [CRA 项目示例](https://github.com/geist-org/geist-ui/blob/master/examples/tree-shaking-create-react-app/README.md) (create-react-app)
- [Next.js 项目示例](https://github.com/geist-org/geist-ui/blob/master/examples/tree-shaking-nextjs/README.md)
- [Webpack 项目示例](https://github.com/geist-org/geist-ui/blob/master/examples/tree-shaking-webpack/README.md)
- [CRA with TreeShaking](https://github.com/geist-org/geist-ui/blob/master/examples/tree-shaking-create-react-app/README.md)
- [Next.js with TreeShaking](https://github.com/geist-org/geist-ui/blob/master/examples/tree-shaking-nextjs/README.md)
- [Webpack with TreeShaking](https://github.com/geist-org/geist-ui/blob/master/examples/tree-shaking-webpack/README.md)

export default ({ children }) => <Layout meta={meta}>{children}</Layout>
2 changes: 1 addition & 1 deletion pages/zh-cn/guide/installation.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export const meta = {
<Tabs
initialValue="yarn"
hideDivider
align="right"
align="flex-end"
mt="-46px"
className="installation-tabs">
<Tabs.Item label="Yarn" value="yarn">
Expand Down

0 comments on commit 18c6f7f

Please sign in to comment.