Commit e15226a3 authored by Liu Yue's avatar Liu Yue Committed by 偏右

fix broken login page on mobile device with small screen resolution (#1483)

* fix broken login page on mobile device with small screen resolution

* fix weird padding of Result component in mobile device

* make result page of step-form looks better on mobile device
parent c6bbef85
...@@ -4,6 +4,9 @@ ...@@ -4,6 +4,9 @@
text-align: center; text-align: center;
width: 72%; width: 72%;
margin: 0 auto; margin: 0 auto;
@media screen and (max-width: @screen-xs) {
width: 100%;
}
.icon { .icon {
font-size: 72px; font-size: 72px;
...@@ -39,6 +42,10 @@ ...@@ -39,6 +42,10 @@
padding: 24px 40px; padding: 24px 40px;
border-radius: @border-radius-sm; border-radius: @border-radius-sm;
text-align: left; text-align: left;
@media screen and (max-width: @screen-xs) {
padding: 18px 20px;
}
} }
.actions { .actions {
......
...@@ -14,28 +14,34 @@ class Step3 extends React.PureComponent { ...@@ -14,28 +14,34 @@ class Step3 extends React.PureComponent {
const information = ( const information = (
<div className={styles.information}> <div className={styles.information}>
<Row> <Row>
<Col span={8} className={styles.label}> <Col xs={24} sm={8} className={styles.label}>
付款账户 付款账户
</Col> </Col>
<Col span={16}>{data.payAccount}</Col> <Col xs={24} sm={16}>
{data.payAccount}
</Col>
</Row> </Row>
<Row> <Row>
<Col span={8} className={styles.label}> <Col xs={24} sm={8} className={styles.label}>
收款账户 收款账户
</Col> </Col>
<Col span={16}>{data.receiverAccount}</Col> <Col xs={24} sm={16}>
{data.receiverAccount}
</Col>
</Row> </Row>
<Row> <Row>
<Col span={8} className={styles.label}> <Col xs={24} sm={8} className={styles.label}>
收款人姓名 收款人姓名
</Col> </Col>
<Col span={16}>{data.receiverName}</Col> <Col xs={24} sm={16}>
{data.receiverName}
</Col>
</Row> </Row>
<Row> <Row>
<Col span={8} className={styles.label}> <Col xs={24} sm={8} className={styles.label}>
转账金额 转账金额
</Col> </Col>
<Col span={16}> <Col xs={24} sm={16}>
<span className={styles.money}>{data.amount}</span> <span className={styles.money}>{data.amount}</span>
</Col> </Col>
</Row> </Row>
......
...@@ -60,6 +60,9 @@ ...@@ -60,6 +60,9 @@
color: @heading-color; color: @heading-color;
text-align: right; text-align: right;
padding-right: 8px; padding-right: 8px;
@media screen and (max-width: @screen-sm) {
text-align: left;
}
} }
} }
......
...@@ -3,6 +3,9 @@ ...@@ -3,6 +3,9 @@
.main { .main {
width: 368px; width: 368px;
margin: 0 auto; margin: 0 auto;
@media screen and (max-width: @screen-sm) {
width: 95%;
}
.icon { .icon {
font-size: 24px; font-size: 24px;
......
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