许静 před 5 roky
rodič
revize
a3be4ca6cd

+ 10
- 3
src/pages/user/login/components/Login/index.less Zobrazit soubor

@@ -38,11 +38,11 @@ position: relative;
38 38
 }
39 39
 .login {
40 40
   background-color: #fff;
41
-  width:580px;
42
-  height:480px;
43
-  padding:120px 50px;
41
+  width:100%;
42
+  height:58vh;
44 43
   border-radius:0px 30px 30px 0px;
45 44
   margin: 0 auto;
45
+  padding: 10vh 0;
46 46
   :global {
47 47
     .ant-tabs .ant-tabs-bar {
48 48
       margin-bottom: 24px;
@@ -52,6 +52,13 @@ position: relative;
52 52
     .ant-form-item {
53 53
       margin: 0 2px 24px;
54 54
     }
55
+    .ant-input-affix-wrapper,.ant-form-item-control{ 
56
+      width: 36vw;
57
+      max-width: 600px;
58
+      min-width: 200px;
59
+      margin: 0 auto;
60
+      display: block;
61
+      }
55 62
   }
56 63
 
57 64
   .getCaptcha {

+ 1
- 1
src/pages/user/login/style.less Zobrazit soubor

@@ -4,7 +4,7 @@
4 4
   // width: 368px;
5 5
   margin: 0 auto;
6 6
   @media screen and (max-width: @screen-sm) {
7
-    width: 95%;
7
+    width: 100%;
8 8
   }
9 9
 
10 10
   .icon {