From f56cae3719d6cb789a2539dcb107ecd886dd8956 Mon Sep 17 00:00:00 2001 From: lyt <1105290566@qq.com> Date: Mon, 11 Jul 2022 21:02:36 +0800 Subject: [PATCH] =?UTF-8?q?'admin-22.07.11:el-form=E8=A1=A8=E5=8D=95?= =?UTF-8?q?=E6=9C=80=E5=90=8E=E4=B8=80=E8=A1=8C=E6=A0=B7=E5=BC=8F=EF=BC=8C?= =?UTF-8?q?=E7=A7=BB=E5=8A=A8=E7=AB=AFlable=E5=B7=A6=E5=AF=B9=E9=BD=90'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/theme/element.scss | 8 -------- src/theme/media/form.scss | 2 ++ 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/src/theme/element.scss b/src/theme/element.scss index 5137cb4..5805498 100644 --- a/src/theme/element.scss +++ b/src/theme/element.scss @@ -27,14 +27,6 @@ max-height: 280px !important; } -/* Form 表单 -------------------------------- */ -.el-form { - .el-form-item:last-of-type { - margin-bottom: 0 !important; - } -} - /* Alert 警告 ------------------------------- */ .el-alert { diff --git a/src/theme/media/form.scss b/src/theme/media/form.scss index 098300b..6fe0a8c 100644 --- a/src/theme/media/form.scss +++ b/src/theme/media/form.scss @@ -6,6 +6,8 @@ .el-form-item__label { width: 100% !important; text-align: left !important; + // 移动端 label 右对齐问题 + justify-content: flex-start !important; } .el-form-item__content { margin-left: 0 !important;