Skip to content

docs: add docs for layout #18

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Jan 14, 2022
Merged

docs: add docs for layout #18

merged 4 commits into from
Jan 14, 2022

Conversation

xiaodemen
Copy link
Contributor

No description provided.

Change-Id: I9dad21a92403bc57d03d4d1b559d1f4e6bbc5c73
@vercel
Copy link

vercel bot commented Jan 13, 2022

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/ecomfe/veui-docs/EjxMruTNUaSmYUez4rejjGR97zTJ
✅ Preview: https://veui-docs-git-fork-xiaodemen-master-ecomfe.vercel.app

<!-- [[ demo src="/demo/layout/sticky.vue" ]] -->
:::tip
当吸顶的布局底部和吸顶侧边栏一起使用需要在布局底部的父组件 `Layout` 上设置 `--dls-layout-footer-height` 来指定布局底部的高度。
:::
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

吸底?

// TBD
| 名称 | 类型 | 默认值 | 描述 |
| -- | -- | -- | -- |
| ``direction`` | `'column' | 'row'` | `'column'` | 布局排列方向。 |
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

增加一下“在有 Sidebar 时,……”

@Justineo
Copy link
Member

另外没有 Demo 的组件给一个 Layout 组件的链接吧,比如这里的:

https://veui.dev/components/breadcrumb-item#%E7%A4%BA%E4%BE%8B

Co-authored-by: GU Yiling <justice360@gmail.com>
Change-Id: I7a88d8723df5afcf22dcb38f20a3b76a67cadbad
@Justineo Justineo merged commit cf6ba3b into ecomfe:master Jan 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants