Commit bdffd006 authored by ddcat1115's avatar ddcat1115

tweak PageHeader demo style

parent b24322d5
...@@ -10,7 +10,7 @@ import PageHeader from 'ant-design-pro/lib/PageHeader'; ...@@ -10,7 +10,7 @@ import PageHeader from 'ant-design-pro/lib/PageHeader';
const content = ( const content = (
<div> <div>
<p>段落示意:蚂蚁金服务设计平台-ant.design,用最小的工作量,无缝接入蚂蚁金服生态, <p>段落示意:蚂蚁金服务设计平台 ant.design,用最小的工作量,无缝接入蚂蚁金服生态,
提供跨越设计与开发的体验解决方案。</p> 提供跨越设计与开发的体验解决方案。</p>
<div className="link"> <div className="link">
<a> <a>
...@@ -55,6 +55,9 @@ ReactDOM.render( ...@@ -55,6 +55,9 @@ ReactDOM.render(
```` ````
<style> <style>
#scaffold-src-components-PageHeader-demo-image .code-box-demo {
background: #f2f4f5;
}
#scaffold-src-components-PageHeader-demo-image .imgContainer { #scaffold-src-components-PageHeader-demo-image .imgContainer {
margin-top: -60px; margin-top: -60px;
text-align: center; text-align: center;
......
...@@ -24,3 +24,9 @@ ReactDOM.render( ...@@ -24,3 +24,9 @@ ReactDOM.render(
</div> </div>
, mountNode); , mountNode);
```` ````
<style>
#scaffold-src-components-PageHeader-demo-simple .code-box-demo {
background: #f2f4f5;
}
</style>
...@@ -93,3 +93,9 @@ ReactDOM.render( ...@@ -93,3 +93,9 @@ ReactDOM.render(
</div> </div>
, mountNode); , mountNode);
```` ````
<style>
#scaffold-src-components-PageHeader-demo-standard .code-box-demo {
background: #f2f4f5;
}
</style>
...@@ -41,7 +41,7 @@ ReactDOM.render( ...@@ -41,7 +41,7 @@ ReactDOM.render(
<style> <style>
#scaffold-src-components-PageHeader-demo-structure .code-box-demo { #scaffold-src-components-PageHeader-demo-structure .code-box-demo {
background: #eee; background: #f2f4f5;
} }
#scaffold-src-components-PageHeader-demo-structure .logo { #scaffold-src-components-PageHeader-demo-structure .logo {
background: #3ba0e9; background: #3ba0e9;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment