tweak home style

This commit is contained in:
ddcat1115 2017-12-01 14:43:06 +08:00
parent 01f4b4e713
commit 0b31c256e3
2 changed files with 6 additions and 1 deletions

View File

@ -113,9 +113,14 @@
}
.left-text {
padding-left: 10%;
left: 30px;
}
}
#page3 .text-wrapper {
left: -30px;
}
.image1 {
background: url("https://t.alipayobjects.com/images/T1Ch8kXfpdXXXXXXXX.png") no-repeat right / 841px;
height: 511px;

View File

@ -22,7 +22,7 @@ export default function Page3({ location }) {
leaveReverse
>
<h2 key="h2"><FormattedMessage id="app.home.reusable-components" /></h2>
<p key="p" style={{ maxWidth: 280 }}><FormattedMessage id="app.home.components-intro" /></p>
<p key="p" style={{ maxWidth: 360 }}><FormattedMessage id="app.home.components-intro" /></p>
<div key="button">
<Link to={utils.getLocalizedPathname('/docs/react/introduce', utils.isZhCN(location.pathname))}>
<Button type="primary" size="large">