Skip to content

Commit 18c6f7f

Browse files
authored
docs: fix tabs layout of install page (#707)
1 parent 804df44 commit 18c6f7f

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

pages/en-us/guide/installation.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Also, Geist is based on the component library of framework React, which means yo
2323
<Tabs
2424
initialValue="yarn"
2525
hideDivider
26-
align="right"
26+
align="flex-end"
2727
mt="-46px"
2828
className="installation-tabs">
2929
<Tabs.Item label="Yarn" value="yarn">
@@ -177,8 +177,8 @@ A classic use case is to add the following config to the `.babelrc`:
177177

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

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

184184
export default ({ children }) => <Layout meta={meta}>{children}</Layout>

pages/zh-cn/guide/installation.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export const meta = {
2323
<Tabs
2424
initialValue="yarn"
2525
hideDivider
26-
align="right"
26+
align="flex-end"
2727
mt="-46px"
2828
className="installation-tabs">
2929
<Tabs.Item label="Yarn" value="yarn">

0 commit comments

Comments
 (0)