From 7122ddb9e53d440b824a8d1dee12ec57e64d3d5d Mon Sep 17 00:00:00 2001 From: Hanx Date: Fri, 10 Apr 2020 16:17:10 +0800 Subject: [PATCH] Transfer: fix incorrect line-height of el-transfer's first list item when it was used with el-form-item (#18917) --- packages/theme-chalk/src/transfer.scss | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/theme-chalk/src/transfer.scss b/packages/theme-chalk/src/transfer.scss index 7334cdf6..fea7d7ba 100644 --- a/packages/theme-chalk/src/transfer.scss +++ b/packages/theme-chalk/src/transfer.scss @@ -96,11 +96,10 @@ height: $--transfer-item-height; line-height: $--transfer-item-height; padding-left: 15px; - display: block; + display: block !important; & + .el-transfer-panel__item { margin-left: 0; - display: block!important; } &.el-checkbox {