瀏覽代碼

fix: password icon dislocation (#501)

修复登录页密码显示icon不同分辨率下错位
Li yao 4 年之前
父節點
當前提交
bd83eccdc5
共有 1 個文件被更改,包括 8 次插入3 次删除
  1. 8 3
      src/views/sys/login/Login.vue

+ 8 - 3
src/views/sys/login/Login.vue

@@ -194,18 +194,23 @@
     input:not([type='checkbox']) {
     input:not([type='checkbox']) {
       min-width: 360px;
       min-width: 360px;
 
 
+      @media (max-width: @screen-xl) {
+        min-width: 320px;
+      }
+
       @media (max-width: @screen-lg) {
       @media (max-width: @screen-lg) {
-        min-width: 300px;
+        min-width: 260px;
       }
       }
 
 
       @media (max-width: @screen-md) {
       @media (max-width: @screen-md) {
-        min-width: 280px;
+        min-width: 240px;
       }
       }
 
 
       @media (max-width: @screen-sm) {
       @media (max-width: @screen-sm) {
-        min-width: 180px;
+        min-width: 160px;
       }
       }
     }
     }
+    
     .@{countdown-prefix-cls} input {
     .@{countdown-prefix-cls} input {
       min-width: unset;
       min-width: unset;
     }
     }