From 28d70f57fc22c1c92ef4a4491b6bb01a82fee27d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E5=AE=8F=E7=8E=BA?= Date: Thu, 18 Jul 2019 13:49:43 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=A9card=E7=9A=84action=E6=9B=B4=E5=AE=B9?= =?UTF-8?q?=E6=98=93=E7=82=B9=E5=87=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/card/style/index.less | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/components/card/style/index.less b/components/card/style/index.less index a198bdd37a..aa41f07ba6 100644 --- a/components/card/style/index.less +++ b/components/card/style/index.less @@ -139,7 +139,7 @@ & > span { position: relative; - display: inline-block; + display: block; min-width: 32px; font-size: 14px; line-height: 22px; @@ -155,7 +155,8 @@ line-height: 22px; } - a { + a, + i { display: inline-block; width: 100%; color: @text-color-secondary; @@ -163,6 +164,7 @@ &:hover { color: @primary-color; + transition: color 0.3s; } } }