Browse Source

optimize phoneview style

pull/1058/head
jim 9 years ago
parent
commit
972719ae82
  1. 17
      src/routes/Userinfo/PhoneView.less

17
src/routes/Userinfo/PhoneView.less

@ -1,20 +1,11 @@
@import '~antd/lib/style/themes/default.less'; @import '~antd/lib/style/themes/default.less';
.area_code { .area_code {
width: 128px; max-width: 128px;
margin-right: 8px; margin-right: 8px;
width: 30%;
} }
.phone_number { .phone_number {
width: 312px; max-width: 312px;
} width: ~'calc( 70% - 8px)';
@media screen and (max-width: @screen-sm) {
.area_code {
width: 100%;
margin: 0;
margin-bottom: 8px;
}
.phone_number {
width: 100%;
}
} }

Loading…
Cancel
Save