Bladeren bron

optimize avatar style

jim 8 jaren geleden
bovenliggende
commit
be06f15a71
2 gewijzigde bestanden met toevoegingen van 4 en 1 verwijderingen
  1. 1 0
      src/routes/Userinfo/BaseView.less
  2. 3 1
      src/routes/Userinfo/GeographicView.less

+ 1 - 0
src/routes/Userinfo/BaseView.less

@@ -9,6 +9,7 @@
       display: flex;
       display: flex;
       flex-direction: column;
       flex-direction: column;
       align-items: center;
       align-items: center;
+      max-width: 448px;
     }
     }
   }
   }
   .left {
   .left {

+ 3 - 1
src/routes/Userinfo/GeographicView.less

@@ -2,10 +2,12 @@
 
 
 .row {
 .row {
   .item {
   .item {
-    width: 220px;
+    max-width: 220px;
+    width: 50%;
   }
   }
   .item:first-child {
   .item:first-child {
     margin-right: 8px;
     margin-right: 8px;
+    width: calc(50% - 8px);
   }
   }
 }
 }