From c361165352dd2bf2f2aaab13a0f89e0f4a16af8f Mon Sep 17 00:00:00 2001 From: afc163 Date: Sat, 18 Mar 2017 14:52:23 +0800 Subject: [PATCH] Improve Layout fixed demo --- .../__tests__/__snapshots__/demo.test.js.snap | 8 +++++--- components/layout/demo/fixed.md | 16 ++++------------ package.json | 2 +- site/theme/template/Content/Demo.jsx | 2 +- 4 files changed, 11 insertions(+), 17 deletions(-) diff --git a/components/layout/__tests__/__snapshots__/demo.test.js.snap b/components/layout/__tests__/__snapshots__/demo.test.js.snap index 5768c54f12..9a33e87bd7 100644 --- a/components/layout/__tests__/__snapshots__/demo.test.js.snap +++ b/components/layout/__tests__/__snapshots__/demo.test.js.snap @@ -201,7 +201,8 @@ exports[`renders ./components/layout/demo/fixed.md correctly 1`] = ` class="ant-layout" >
Content
diff --git a/components/layout/demo/fixed.md b/components/layout/demo/fixed.md index a3b601951b..1a93f49f3b 100644 --- a/components/layout/demo/fixed.md +++ b/components/layout/demo/fixed.md @@ -1,6 +1,6 @@ --- order: 6 -iframe: true +iframe: 360 title: zh-CN: 固定头部 en-US: Fixed Header @@ -20,7 +20,7 @@ const { Header, Content, Footer } = Layout; ReactDOM.render( -
+
nav 3
- + Home List App -
Content
+
Content