From 80a585cf43d69c5f87c5893948b06f97b53f1d43 Mon Sep 17 00:00:00 2001 From: jim Date: Mon, 12 Feb 2018 10:53:29 +0800 Subject: [PATCH] optimize avatar style --- src/routes/Userinfo/BaseView.less | 1 + src/routes/Userinfo/GeographicView.less | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/routes/Userinfo/BaseView.less b/src/routes/Userinfo/BaseView.less index c0bc53a2..4040393b 100644 --- a/src/routes/Userinfo/BaseView.less +++ b/src/routes/Userinfo/BaseView.less @@ -9,6 +9,7 @@ display: flex; flex-direction: column; align-items: center; + max-width: 448px; } } .left { diff --git a/src/routes/Userinfo/GeographicView.less b/src/routes/Userinfo/GeographicView.less index 046d9345..cfdf8135 100644 --- a/src/routes/Userinfo/GeographicView.less +++ b/src/routes/Userinfo/GeographicView.less @@ -2,10 +2,12 @@ .row { .item { - width: 220px; + max-width: 220px; + width: 50%; } .item:first-child { margin-right: 8px; + width: calc(50% - 8px); } } -- GitLab