提交 492af293 作者: 翁进城

优化layout样式

上级 43071707
...@@ -8,13 +8,14 @@ const { Header, Footer, Content } = Layout; ...@@ -8,13 +8,14 @@ const { Header, Footer, Content } = Layout;
const headerStyle: React.CSSProperties = { const headerStyle: React.CSSProperties = {
height: 'auto', height: 'auto',
background: 'none', background: 'none',
padding: 0 padding: 0,
lineHeight: '1'
}; };
const contentStyle: React.CSSProperties = { const contentStyle: React.CSSProperties = {
textAlign: 'center', textAlign: 'center',
minHeight: 120, minHeight: 120,
lineHeight: '', lineHeight: '1',
color: '', color: '',
backgroundColor: '', backgroundColor: '',
}; };
...@@ -23,6 +24,7 @@ const footerStyle: React.CSSProperties = { ...@@ -23,6 +24,7 @@ const footerStyle: React.CSSProperties = {
textAlign: 'center', textAlign: 'center',
color: '', color: '',
backgroundColor: '#7dbcea', backgroundColor: '#7dbcea',
lineHeight: '1',
}; };
type Props = { type Props = {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论