From b2e474e3f67b2d5337281bbb3ef20b4dd8df682d Mon Sep 17 00:00:00 2001 From: zhaojisen <1301338853@qq.com> Date: Fri, 11 Oct 2024 18:15:46 +0800 Subject: [PATCH] style: Optimize the number field style --- src/components/Form/FormFields/PasswordRule.vue | 3 ++- src/styles/index.scss | 5 ----- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/src/components/Form/FormFields/PasswordRule.vue b/src/components/Form/FormFields/PasswordRule.vue index 3c1cbba87..dd578a58a 100644 --- a/src/components/Form/FormFields/PasswordRule.vue +++ b/src/components/Form/FormFields/PasswordRule.vue @@ -48,7 +48,8 @@ export default { type: 'input-number', el: { min: 8, - max: 36 + max: 36, + size: 'mini' } }, { diff --git a/src/styles/index.scss b/src/styles/index.scss index 475252ea3..c8c17612a 100644 --- a/src/styles/index.scss +++ b/src/styles/index.scss @@ -439,11 +439,6 @@ input[type=file] { font-size: 13px; } -.el-form .el-input__inner, .el-dialog__body .el-input-number .el-input__inner { - height: 34px; - font-size: 13px; -} - .el-input input::placeholder { font-weight: 400 !important; font-family: "Open Sans", sans-serif;