From bd83eccdc55c697d0db83bc3a7cf2829cafe96e7 Mon Sep 17 00:00:00 2001 From: Li yao Date: Mon, 19 Apr 2021 18:36:44 +0800 Subject: [PATCH] fix: password icon dislocation (#501) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 修复登录页密码显示icon不同分辨率下错位 --- src/views/sys/login/Login.vue | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/src/views/sys/login/Login.vue b/src/views/sys/login/Login.vue index 925cad2c..0e107068 100644 --- a/src/views/sys/login/Login.vue +++ b/src/views/sys/login/Login.vue @@ -194,18 +194,23 @@ input:not([type='checkbox']) { min-width: 360px; + @media (max-width: @screen-xl) { + min-width: 320px; + } + @media (max-width: @screen-lg) { - min-width: 300px; + min-width: 260px; } @media (max-width: @screen-md) { - min-width: 280px; + min-width: 240px; } @media (max-width: @screen-sm) { - min-width: 180px; + min-width: 160px; } } + .@{countdown-prefix-cls} input { min-width: unset; } -- GitLab