From c7d6ed66f6cbb893d6f1b731c44e62737949ce23 Mon Sep 17 00:00:00 2001 From: rex Date: Tue, 16 Oct 2018 14:11:44 +0800 Subject: [PATCH] =?UTF-8?q?perf(Cell):=20=E4=BC=98=E5=8C=96=E5=B7=A6?= =?UTF-8?q?=E5=8F=B3=E5=9B=BE=E6=A0=87=E5=AF=B9=E9=BD=90=20@rex-zsd=20(#76?= =?UTF-8?q?3)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/cell/index.less | 7 +++++++ packages/cell/index.wxml | 4 +++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/packages/cell/index.less b/packages/cell/index.less index 8a2037bb..5e9ece05 100644 --- a/packages/cell/index.less +++ b/packages/cell/index.less @@ -45,6 +45,13 @@ vertical-align: middle; } + &__left-icon-wrap, + &__right-icon-wrap { + display: flex; + align-items: center; + height: 24px; + } + &__left-icon { font-size: 16px !important; line-height: 24px; diff --git a/packages/cell/index.wxml b/packages/cell/index.wxml index 4d8bc746..1350ad53 100644 --- a/packages/cell/index.wxml +++ b/packages/cell/index.wxml @@ -1,11 +1,12 @@ @@ -29,6 +30,7 @@