From 7d1167978ce463c3dc41b632282183e4601fbcd0 Mon Sep 17 00:00:00 2001 From: yiqiu Date: Thu, 19 Mar 2026 19:34:05 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20+86=E5=89=8D=E7=BC=80=E6=BA=A2=E5=87=BA(?= =?UTF-8?q?prepend=E5=A2=9E=E8=87=B390px+=E5=86=85=E9=83=A8100%=E5=AE=BD)?= =?UTF-8?q?=20+=20=E8=AF=AD=E8=A8=80/=E6=B6=88=E9=99=A4(overflow:hidden)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - prepend 70px→90px, 内部 el-select 和 el-input 均 width:100% - padding-right:24px 给下拉箭头留位 - lang-box 加 overflow:hidden 隐藏 span 间的 / 文本节点 --- clientarea/hgcloud/css/login.css | 19 +++++++++++++++---- clientarea/hgcloud/css/regist.css | 19 +++++++++++++++---- 2 files changed, 30 insertions(+), 8 deletions(-) diff --git a/clientarea/hgcloud/css/login.css b/clientarea/hgcloud/css/login.css index 2cc7dbd..46dcf48 100644 --- a/clientarea/hgcloud/css/login.css +++ b/clientarea/hgcloud/css/login.css @@ -72,6 +72,7 @@ display: flex; gap: 4px; font-size: 0; + overflow: hidden; } .login-jump-btn .lang-box span { @@ -336,8 +337,16 @@ border-radius: 8px 0 0 8px !important; color: #E6E8EB !important; padding: 0 !important; - width: 70px !important; - min-width: 70px !important; + width: 90px !important; + min-width: 90px !important; +} + +.input-with-select .el-input-group__prepend .el-select { + width: 100% !important; +} + +.input-with-select .el-input-group__prepend .el-select .el-input { + width: 100% !important; } .input-with-select .el-input-group__prepend .el-input__inner { @@ -345,7 +354,9 @@ border: none !important; color: #E6E8EB !important; padding-left: 12px !important; - padding-right: 20px !important; + padding-right: 24px !important; + width: 100% !important; + text-align: left !important; } .input-with-select .el-input-group__prepend .el-select .el-input .el-input__inner { @@ -355,7 +366,7 @@ .input-with-select .el-input-group__prepend .el-input__suffix { color: rgba(139, 148, 158, 0.5) !important; - right: 2px !important; + right: 4px !important; } .input-with-select .el-input-group__prepend .el-select .el-input.is-focus .el-input__inner { diff --git a/clientarea/hgcloud/css/regist.css b/clientarea/hgcloud/css/regist.css index 54fbd10..3d5f6ee 100644 --- a/clientarea/hgcloud/css/regist.css +++ b/clientarea/hgcloud/css/regist.css @@ -55,6 +55,7 @@ display: flex; gap: 4px; font-size: 0; + overflow: hidden; } .login-jump-btn .lang-box span { @@ -264,8 +265,16 @@ border-radius: 8px 0 0 8px !important; color: #E6E8EB !important; padding: 0 !important; - width: 70px !important; - min-width: 70px !important; + width: 90px !important; + min-width: 90px !important; +} + +.input-with-select .el-input-group__prepend .el-select { + width: 100% !important; +} + +.input-with-select .el-input-group__prepend .el-select .el-input { + width: 100% !important; } .input-with-select .el-input-group__prepend .el-input__inner { @@ -273,7 +282,9 @@ border: none !important; color: #E6E8EB !important; padding-left: 12px !important; - padding-right: 20px !important; + padding-right: 24px !important; + width: 100% !important; + text-align: left !important; } .input-with-select .el-input-group__prepend .el-select .el-input .el-input__inner { @@ -283,7 +294,7 @@ .input-with-select .el-input-group__prepend .el-input__suffix { color: rgba(139, 148, 158, 0.5) !important; - right: 2px !important; + right: 4px !important; } .input-with-select .el-input-group__prepend .el-select .el-input.is-focus .el-input__inner {