diff --git a/components/menu/style/index.less b/components/menu/style/index.less index 2d567ba5ea..a04f7eb857 100644 --- a/components/menu/style/index.less +++ b/components/menu/style/index.less @@ -157,7 +157,7 @@ .@{iconfont-css-prefix} { min-width: 14px; margin-right: 10px; - font-size: @font-size-base + 2px; + font-size: @font-size-base; transition: font-size .15s @ease-out, margin .3s @ease-in-out; + span { transition: opacity .3s @ease-in-out, width .3s @ease-in-out; diff --git a/components/popconfirm/index.tsx b/components/popconfirm/index.tsx index 0675c60072..502f8fef19 100644 --- a/components/popconfirm/index.tsx +++ b/components/popconfirm/index.tsx @@ -34,7 +34,7 @@ class Popconfirm extends React.Component { placement: 'top', trigger: 'click', okType: 'primary', - icon: , + icon: , }; static getDerivedStateFromProps(nextProps: PopconfirmProps) { diff --git a/components/popover/style/index.less b/components/popover/style/index.less index 6ba9d2e7fc..4860be35d2 100644 --- a/components/popover/style/index.less +++ b/components/popover/style/index.less @@ -79,10 +79,9 @@ position: relative; > .@{iconfont-css-prefix} { position: absolute; - top: 4px + 3px; // 4px for padding-top, 3px for vertical middle; + top: 8px; // 4px for padding-top, 4px for vertical middle; color: @warning-color; - line-height: @line-height-base + 0.1; - font-size: @font-size-base + 2px; + font-size: @font-size-base; } &-title { padding-left: @font-size-base + 8px; diff --git a/components/style/themes/default.less b/components/style/themes/default.less index 2100ba5b46..bd9a1efa5f 100644 --- a/components/style/themes/default.less +++ b/components/style/themes/default.less @@ -449,7 +449,7 @@ @breadcrumb-base-color: @text-color-secondary; @breadcrumb-last-item-color: @text-color; @breadcrumb-font-size: @font-size-base; -@breadcrumb-icon-font-size: @font-size-sm; +@breadcrumb-icon-font-size: @font-size-base; @breadcrumb-link-color: @text-color-secondary; @breadcrumb-link-color-hover: @primary-5; @breadcrumb-separator-color: @text-color-secondary;