From 5d6d8dc8df70a894d1539830d405e73b19a6bc23 Mon Sep 17 00:00:00 2001 From: jaywcjlove <398188662@qq.com> Date: Mon, 28 May 2018 14:48:24 +0800 Subject: [PATCH] style(Breadcrumb): Modify the icon style. --- src/breadcrumb/style/index.less | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/src/breadcrumb/style/index.less b/src/breadcrumb/style/index.less index b3ab8b050b..6bd3bc508f 100644 --- a/src/breadcrumb/style/index.less +++ b/src/breadcrumb/style/index.less @@ -6,9 +6,9 @@ .@{w-breadcrumb} { color: #595959; font-size: 14px; + line-height: 1.5; &-item:last-child { color: #c0c0c0; - vertical-align: middle; } &-item:last-child &-item-separator { display: none; @@ -19,18 +19,16 @@ color: #3d90f2; } } - &-item-inner { + i[class^="w-icon-"] { vertical-align: middle; - > * { - vertical-align: middle; - } + margin-top: -3px; + } + &-item-inner { > i[class^="w-icon-"] + span { margin-left: 5px; } } &-item-separator { - vertical-align: middle; - font-size: 12px; margin: 0 8px; color: #adadad; }